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.

A064399 Numbers k whose sum of digits exceeds the sum of the digits of k^2.

Original entry on oeis.org

39, 48, 49, 79, 149, 179, 249, 318, 348, 349, 389, 390, 399, 448, 449, 480, 489, 490, 498, 499, 548, 549, 579, 649, 679, 749, 789, 790, 795, 799, 849, 889, 895, 898, 899, 949, 1049, 1096, 1149, 1249, 1429, 1488, 1489, 1490, 1497, 1498, 1499, 1735, 1739
Offset: 1

Views

Author

Robert G. Wilson v, Sep 28 2001

Keywords

Crossrefs

Programs

  • Mathematica
    Select[ Range[ 2500 ], Apply[ Plus, IntegerDigits[ # ] ] > Apply[ Plus, IntegerDigits[ #^2 ] ] & ]
  • PARI
    isok(n) = sumdigits(n) > sumdigits(n^2); \\ Michel Marcus, Jun 24 2018