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!)
A118881 Square of sum of decimal digits of n. 9
0, 1, 4, 9, 16, 25, 36, 49, 64, 81, 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196, 36, 49, 64, 81, 100, 121, 144 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

N. J. A. Sloane, Table of n, a(n) for n = 0..10000

FORMULA

a(n) = (A007953(n))^2. [From R. J. Mathar, Apr 22 2010]

EXAMPLE

Trajectories of the map x->a(x), A177148:

1 ->1 ->1 ->1 ->1 ->1 ->1 ->1 ->1 ->,..

2 ->4 ->16 ->49 ->169 ->256 ->169 ->256 ->169 ->..

3 ->9 ->81 ->81 ->81 ->81 ->81 ->81 ->81 ->..

4 ->16 ->49 ->169 ->256 ->169 ->256 ->169 ->256 ->..

5 ->25 ->49 ->169 ->256 ->169 ->256 ->169 ->256 ->..

6 ->36 ->81 ->81 ->81 ->81 ->81 ->81 ->81 ->..

7 ->49 ->169 ->256 ->169 ->256 ->169 ->256 ->169 ->..

8 ->64 ->100 ->1 ->1 ->1 ->1 ->1 ->1 ->..

- R. J. Mathar, Jul 08 2012

MAPLE

read("transforms") :

A118881 := proc(n)

        digsum(n)^2 ;

end proc: # R. J. Mathar, Jul 08 2012

MATHEMATICA

Table[Total[IntegerDigits[n]]^2, {n, 0, 70}] (* Harvey P. Dale, Jul 31 2012 *)

CROSSREFS

Sequence in context: A062331 A069940 A153211 * A277342 A098733 A068522

Adjacent sequences:  A118878 A118879 A118880 * A118882 A118883 A118884

KEYWORD

base,easy,nonn

AUTHOR

Giovanni Teofilatto, May 25 2006

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 September 23 16:09 EDT 2020. Contains 337311 sequences. (Running on oeis4.)