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.

A261201 Base-10 representation of A261200.

Original entry on oeis.org

1, 2, 5, 11, 23, 47, 191, 383, 3067, 12269, 196307, 6281839, 50254717, 201018869, 804075479, 1608150959, 102921661397, 1646746582367, 13173972658937, 105391781271503, 210783562543007, 3372537000688127, 26980296005505019, 863369472176160611
Offset: 1

Views

Author

Clark Kimberling, Sep 16 2015

Keywords

Crossrefs

A055011, A261200 and A261201 are all essentially the same sequence.

Programs

  • Mathematica
    b = 2; s = {{1}};
    Do[NestWhile[# + 1 &, 0, ! (PrimeQ[FromDigits[tmp = Join[Last[s], (nn = #;           IntegerDigits[nn - Sum[b^n, {n, l = NestWhile[# + 1 &, 1, ! (nn - (Sum[b^n, {n, #}]) < 0) &] - 1}], b, l + 1])], b]]) &];
    AppendTo[s, tmp], {30}]; Map[FromDigits, s]
    Map[FromDigits, s] (* A261200 *)
    Map[FromDigits[#, b] &, s] (* A261201 *)
    (* Peter J. C. Moses, Aug 06 2015 *)