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!)
A071440 Start with 1; add the digits of the previous term and the squares of the digits of the previous term. 2

%I

%S 1,2,6,42,26,48,92,96,132,20,6,42,26,48,92,96,132,20,6,42,26,48,92,96,

%T 132,20,6,42,26,48,92,96,132,20,6,42,26,48,92,96,132,20,6,42,26,48,92,

%U 96,132,20,6,42,26,48,92,96,132,20,6,42,26,48,92,96,132,20,6,42,26,48

%N Start with 1; add the digits of the previous term and the squares of the digits of the previous term.

%C The sequence becomes periodic after ten steps: a(10) = a(2). Period length is 8, length of the preperiodic part is 2. - Other starting values except 9, 90, 900, ... result in sequences which exhibit essentially the same behavior.

%e 42 -> 4 + 2 + 4^2 + 2^2 = 26, 26 -> 2 + 6 + 2^2 + 6^2 = 48, ...

%o (PARI) {m=70; a=1; for(j=1,m,print1(a,","); n=a; a=0; while(n>0,d=divrem(n,10); n=d[1]; a=a+(1+d[2])*d[2]))}

%K nonn,base,easy

%O 0,2

%A _N. J. A. Sloane_, Oct 23 2002

%E Edited and extended by _Klaus Brockhaus_, Oct 24 2002

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 April 6 21:24 EDT 2020. Contains 333286 sequences. (Running on oeis4.)