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.

A070276 Numbers n such that sum of digits of n equals the sum of digits of n^3.

Original entry on oeis.org

0, 1, 8, 10, 80, 100, 171, 378, 468, 487, 577, 585, 586, 684, 800, 1000, 1710, 3780, 4680, 4870, 4877, 5770, 5850, 5851, 5860, 5868, 6840, 8000, 10000, 15877, 17100, 28845, 37800, 46800, 48700, 48770, 57700, 58500, 58510, 58600, 58680, 58968, 59777
Offset: 1

Views

Author

Benoit Cloitre, May 09 2002

Keywords

Crossrefs

Programs

  • Mathematica
    Select[Range[0,60000],Total[IntegerDigits[#]]==Total[IntegerDigits[ #^3]]&] (* Harvey P. Dale, May 10 2012 *)
  • PARI
    isok(n) = sumdigits(n) == sumdigits(n^3); \\ Michel Marcus, Aug 12 2017