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!)
A069958 (Sum of digits of n)^3 - (sum of digits^3 of n). 0
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 18, 36, 60, 90, 126, 168, 216, 270, 0, 18, 48, 90, 144, 210, 288, 378, 480, 594, 0, 36, 90, 162, 252, 360, 486, 630, 792, 972, 0, 60, 144, 252, 384, 540, 720, 924, 1152, 1404, 0, 90, 210, 360, 540, 750, 990, 1260, 1560, 1890, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,12
COMMENTS
a(n) = 0 iff n is a single-digit number or is a power of ten times a single-digit number.
LINKS
FORMULA
a(n) = A007953(n)^3 - A055012(n). - Michel Marcus, Nov 01 2014
MATHEMATICA
f[n_] := Plus @@ IntegerDigits[n]^3 - Plus @@ (IntegerDigits[n]^3); Table[ f[n], {n, 0, 100}]
CROSSREFS
Cf. A007953 (sum of digits), A055012 (sum of cubes of digits).
Sequence in context: A328586 A172522 A152539 * A028896 A295026 A034857
KEYWORD
nonn,base,easy
AUTHOR
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 March 29 00:26 EDT 2024. Contains 371264 sequences. (Running on oeis4.)