login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A269308 Consider a number x. Take the sum of its digits. Repeat the process deleting the first addendum and adding the previous sum. The sequence lists the numbers that after some iterations reach the sum of the divisors of x. 5
20, 25, 43, 44, 49, 59, 122, 206, 2485, 11899, 17608, 24141, 56207, 195236, 2424613, 2842925, 6241233, 59087970, 111205290, 124735931, 224269761, 1086241193 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

44 works in both directions: n -> sigma(n) and sigma(n) -> n. See A269307.

LINKS

Table of n, a(n) for n=1..22.

EXAMPLE

sigma(20) = 42 :  2 + 0 = 2; 0 + 2 = 2; 2 + 2 = 4; 2 + 4 = 6; 4 + 6 = 10; 6 + 10 = 16; 10 + 16 = 26; 16 +26 = 42.

MAPLE

with(numtheory): P:=proc(q, h) local a, b, k, n, t, v; v:=array(1..h);

for n from 2 to q do a:=n; b:=ilog10(a)+1; if b>1 then

for k from 1 to b do v[b-k+1]:=(a mod 10); a:=trunc(a/10); od; t:=b+1; v[t]:=add(v[k], k=1..b);

while v[t]<sigma(n) do t:=t+1; v[t]:=add(v[k], k=t-b..t-1); od;

if v[t]=sigma(n) then print(n); fi; fi; od; end: P(10^6, 1000);

MATHEMATICA

Select[Range[10, 10^5], (s = DivisorSigma[1, #]; d = IntegerDigits[#]; While[Total[d] < s, d = Join[Rest[d], {Total[d]}]]; Total[d] == s) &] (* Robert Price, May 21 2019 *)

CROSSREFS

Cf. A000203, A007629, A269307, A269309, A269310, A269311, A269312.

Sequence in context: A070684 A295152 A292199 * A167306 A061840 A252660

Adjacent sequences:  A269305 A269306 A269307 * A269309 A269310 A269311

KEYWORD

nonn,base,more

AUTHOR

Paolo P. Lava, Feb 24 2016

EXTENSIONS

a(16)-a(22) from Lars Blomberg, Jan 18 2018

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 24 23:49 EST 2021. Contains 340414 sequences. (Running on oeis4.)