cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A065138 Numbers that are equal to the sum of their digits plus the sum of cubes of their digits.

Original entry on oeis.org

0, 12, 30, 666, 870, 960, 1998
Offset: 1

Views

Author

Henry Bottomley, Oct 15 2001

Keywords

Examples

			12 is included because 12 = (1 + 2) + (1^3 + 2^3).
		

References

  • Underwood Dudley, Numerology or, what Pythagoras wrought, Spectrum Series, Chapter 7 - Beastly Curiosities, page 71, Mathematical Association of America, Washington, D.C., 1997. [From Robert G. Wilson v, Apr 27 2009]

Crossrefs

Programs

  • Mathematica
    fQ[n_] := Block[{id = IntegerDigits@ n}, Plus @@ id + Plus @@ (id^3) == n]; Select[ Range[0, 2000], fQ@# &] (* Robert G. Wilson v, Apr 27 2009 *)