Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A082381
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A082381 Sequence of the squared digital root of a number until 1 or 4 is reached. The initial numbers 1,2,..n are not output. +0
1
1, 4, 9, 81, 65, 61, 37, 58, 89, 145, 42, 20, 4, 16, 37, 58, 89, 145, 42, 20, 4, 25, 29, 85, 89, 145, 42, 2, 0, 4, 36, 45, 41, 17, 50, 25, 29, 85, 89, 145, 42, 20, 4, 49, 97, 130, 10, 1, 64, 52, 29, 85, 89, 145, 42, 20, 4, 81, 65, 61, 37, 58, 89, 145, 42, 20, 4, 1, 2, 4, 5, 25, 29 (list; graph; listen)
OFFSET

1,2

COMMENT

Conjecture: The sequence always terminates with 1 or the 4 16 37 58 89 145 42 20 4... loop.

REFERENCES

C. Stanley Ogilvy, Tomorrow's Math, 1972

PROGRAM

(PARI) \ The squared digital root of a number digitsq2(m) = {y=0; for(x=1, m, digitsq(x) ) } digitsq(n) = { while(1, s=0; while(n > 0, d=n%10; s = s+d*d; n=floor(n/10); ); print1(s" "); if(s==1 || s==4, break); n=s; ) }

CROSSREFS

Sequence in context: A041597 A041030 A061104 this_sequence A155931 A077530 A115551

Adjacent sequences: A082378 A082379 A082380 this_sequence A082382 A082383 A082384

KEYWORD

easy,nonn,uned

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Apr 13 2003

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research