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.

A360380 a(n) = number of the diagonal of the Wythoff array, A035513, that includes prime(n). See Comments.

Original entry on oeis.org

1, 2, 3, 0, 1, 5, -6, -7, -4, 3, -6, -3, -8, -16, 4, -20, -22, -23, -25, -8, -3, -9, -18, 9, -1, -38, -39, -6, -24, -14, -48, -3, -52, -18, -10, -34, 0, -62, -38, -5, -68, -24, -1, -44, -75, 7, -80, -30, -52, -87, 11, -91, -9, -19, -35, -100, -62, -103, -64
Offset: 1

Views

Author

Clark Kimberling, Feb 07 2023

Keywords

Comments

The indexing of diagonals is given in A191360. Conjecture: every integer occurs infinitely many times in this sequence; i.e., every diagonal includes infinitely many primes.

Examples

			a(n) = A191360(prime(n)).
		

Crossrefs

Programs

  • Mathematica
    w[n_, k_] := Fibonacci[k + 1] Floor[n*GoldenRatio] + (n - 1) Fibonacci[k];
    t = Table[w[n - k + 1, k], {n, 300}, {k, n, 1, -1}];
    Map[1 + #[[1]] - 2 #[[2]] &, Most[Reap[NestWhile[# + 1 &, 1,
    Length[Sow[FirstPosition[t, Prime[#]]]] > 1 &]][[2]][[1]]]]
    (* Peter J. C. Moses, Feb 07 2023 *)