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.

A014839 Sum of all the digits of n in every prime-power base from 2 to n-1.

Original entry on oeis.org

2, 3, 7, 9, 13, 13, 16, 19, 26, 28, 36, 39, 42, 34, 45, 44, 55, 59, 63, 64, 76, 75, 80, 82, 82, 87, 102, 112, 128, 113, 120, 121, 129, 130, 148, 149, 154, 156, 175, 187, 207, 214, 219, 217, 238, 227, 237, 228, 233, 239, 262, 246, 256, 261, 265, 260, 284, 299
Offset: 3

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    Table[Sum[If[PrimePowerQ[i], Mod[Total[IntegerDigits[n, i]], n], 0], {i, 2, n-1}], {n, 3, 60}] (* Stefano Spezia, Sep 06 2022 *)