login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A118880 a(n) is the cube of the sum of digits of n. 3
0, 1, 8, 27, 64, 125, 216, 343, 512, 729, 1, 8, 27, 64, 125, 216, 343, 512, 729, 1000, 8, 27, 64, 125, 216, 343, 512, 729, 1000, 1331, 27, 64, 125, 216, 343, 512, 729, 1000, 1331, 1728, 64, 125, 216, 343, 512, 729, 1000, 1331, 1728, 2197, 125, 216, 343, 512 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = (A007953(n))^3. - R. J. Mathar, Apr 22 2010
EXAMPLE
Trajectories of x->a(x), see A182128:
1 ->1 ->1 ->1 ->1 ->1 ->1 ->1 ->1 ->...
2 ->8 ->512 ->512 ->512 ->512 ->512 ->512 ->512 ->...
3 ->27 ->729 ->5832 ->5832 ->5832 ->5832 ->5832 ->5832 ->...
4 ->64 ->1000 ->1 ->1 ->1 ->1 ->1 ->1 ->...
5 ->125 ->512 ->512 ->512 ->512 ->512 ->512 ->512 ->...
6 ->216 ->729 ->5832 ->5832 ->5832 ->5832 ->5832 ->5832 ->...
7 ->343 ->1000 ->1 ->1 ->1 ->1 ->1 ->1 ->...
8 ->512 ->512 ->512 ->512 ->512 ->512 ->512 ->512 ->...
9 ->729 ->5832 ->5832 ->5832 ->5832 ->5832 ->5832 ->5832 ->...
10 ->1 ->1 ->1 ->1 ->1 ->1 ->1 ->1 ->...
11 ->8 ->512 ->512 ->512 ->512 ->512 ->512 ->512 ->...
12 ->27 ->729 ->5832 ->5832 ->5832 ->5832 ->5832 ->5832 ->...
13 ->64 ->1000 ->1 ->1 ->1 ->1 ->1 ->1 ->...
14 ->125 ->512 ->512 ->512 ->512 ->512 ->512 ->512 ->...
- R. J. Mathar, Jul 08 2012
PROG
(Python)
def a(n): return sum(map(int, str(n)))**3
print([a(n) for n in range(54)]) # Michael S. Branicky, Dec 26 2021
CROSSREFS
Sequence in context: A352172 A055012 A069939 * A048390 A000578 A062292
KEYWORD
base,easy,nonn
AUTHOR
Giovanni Teofilatto, May 25 2006
EXTENSIONS
Name and offset corrected by Jon E. Schoenfield, Dec 26 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 11:25 EDT 2024. Contains 371913 sequences. (Running on oeis4.)