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.

A248630 Numbers k such that A248630(k+1) = A248360(k) + 1.

Original entry on oeis.org

7, 11, 15, 18, 22, 25, 28, 31, 34, 37, 39, 42, 45, 48, 51, 53, 56, 59, 61, 64, 67, 69, 72, 75, 77, 80, 82, 85, 88, 90, 93, 95, 98, 101, 103, 106, 108, 111, 113, 116, 118, 121, 124, 126, 129, 131, 134, 136, 139, 141, 144, 146, 149, 151, 154, 156, 159, 161
Offset: 1

Views

Author

Clark Kimberling, Oct 10 2014

Keywords

Examples

			(A248630(k+1) = A248360(k)) = (2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 1, 2, 2, 2, 1, 2, 2, 1, ...), so that A248630 = (7, 11, 15, 18, ...).
		

Crossrefs

Programs

  • Mathematica
    z = 300; p[k_] := p[k] = Sum[(h^2/2^h), {h, 1, k}]
    d = N[Table[6 - p[k], {k, 1, z/5}], 12]
    f[n_] := f[n] = Select[Range[z], 6 - p[#] < 1/3^n &, 1]
    u = Flatten[Table[f[n], {n, 1, z}]]  (* A248629 *)
    d = Differences[u]
    v = Flatten[Position[d, 1]]  (* A248630 *)