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

%I

%S 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,

%T 49,64,81,100,121,9,16,25,36,49,64,81,100,121,144,16,25,36,49,64,81,

%U 100,121,144,169,25,36,49,64,81,100,121,144,169,196,36,49,64,81,100,121,144

%N Square of sum of decimal digits of n.

%H N. J. A. Sloane, <a href="/A118881/b118881.txt">Table of n, a(n) for n = 0..10000</a>

%F a(n) = (A007953(n))^2. [From _R. J. Mathar_, Apr 22 2010]

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

%e 1 ->1 ->1 ->1 ->1 ->1 ->1 ->1 ->1 ->,..

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

%e 3 ->9 ->81 ->81 ->81 ->81 ->81 ->81 ->81 ->..

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

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

%e 6 ->36 ->81 ->81 ->81 ->81 ->81 ->81 ->81 ->..

%e 7 ->49 ->169 ->256 ->169 ->256 ->169 ->256 ->169 ->..

%e 8 ->64 ->100 ->1 ->1 ->1 ->1 ->1 ->1 ->..

%e - _R. J. Mathar_, Jul 08 2012

%p read("transforms") :

%p A118881 := proc(n)

%p digsum(n)^2 ;

%p end proc: # _R. J. Mathar_, Jul 08 2012

%t Table[Total[IntegerDigits[n]]^2,{n,0,70}] (* _Harvey P. Dale_, Jul 31 2012 *)

%K base,easy,nonn

%O 0,3

%A _Giovanni Teofilatto_, May 25 2006

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 26 11:01 EST 2021. Contains 340438 sequences. (Running on oeis4.)