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.

A121799 Values of k from A061092.

Original entry on oeis.org

1, 1, 2, 4, 2, 12, 4, 8, 26, 2, 8, 18, 16, 2, 6, 12, 4, 32, 30, 6, 40, 60, 22, 12, 208, 18, 48, 168, 18, 76, 6, 232, 48, 4, 50, 78, 28, 236, 68, 1026, 10, 162, 6, 138, 162, 48, 120, 330, 82, 414, 130, 188, 164, 6, 6, 100, 126, 10, 36, 40, 48, 94, 14, 218, 954
Offset: 1

Views

Author

Zak Seidov, Oct 26 2005, Dec 14 2006

Keywords

Comments

A061092 is: a(0) = 1; for n>0 a(n) is the smallest prime, larger than a(n-1), of the form k*a(n-1) + 1. - Corrected by Zak Seidov, Oct 03 2015

Crossrefs

Programs

  • Mathematica
    a = {2}; b = {1}; Do[k = 1; p = a[[n - 1]]; While[! PrimeQ[k p + 1], k++]; AppendTo[a, k p + 1]; AppendTo[b, k], {n, 2, 60}]; b (* Michael De Vlieger, Oct 03 2015, after Robert G. Wilson v at A061092 *)

Formula

a(n) = (A061092(n)-1)/A061092(n-1). - Zak Seidov, Oct 03 2015

Extensions

Definition corrected by Ken Takusagawa, Jan 17 2006
Corrected and extended by T. D. Noe, Mar 10 2007
Edited by N. J. A. Sloane, Aug 08 2008 at the suggestion of R. J. Mathar