login
This site is supported by donations to The OEIS 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
1, 2, 6, 42, 26, 48, 92, 96, 132, 20, 6, 42, 26, 48, 92, 96, 132, 20, 6, 42, 26, 48, 92, 96, 132, 20, 6, 42, 26, 48, 92, 96, 132, 20, 6, 42, 26, 48, 92, 96, 132, 20, 6, 42, 26, 48, 92, 96, 132, 20, 6, 42, 26, 48, 92, 96, 132, 20, 6, 42, 26, 48, 92, 96, 132, 20, 6, 42, 26, 48 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

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.

EXAMPLE

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

PROG

(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]))}

CROSSREFS

Sequence in context: A000612 A096138 A004153 * A033936 A203618 A098814

Adjacent sequences:  A071437 A071438 A071439 * A071441 A071442 A071443

KEYWORD

nonn,base,easy

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Oct 23 2002

EXTENSIONS

Edited and extended by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Oct 24 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 10:28 EST 2012. Contains 205763 sequences.