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.

A174161 a(1) = 2. Let k >= 1 be the minimal integer such that 2*k*a(n-1) - 1 has at least one prime divisor which is not already in the sequence. Then a(n) is the smallest such divisor.

Original entry on oeis.org

2, 3, 5, 19, 37, 73, 29, 23, 7, 13, 17, 11, 43, 257, 79, 157, 313, 139, 277, 41, 163, 31, 61, 487, 59, 47, 281, 1123, 449, 359, 239, 53, 211, 421, 101, 67, 89, 71, 283, 113, 677, 2707, 5413, 433, 173, 691, 1381, 251, 167, 1669, 5563, 7417, 44501, 431, 1723, 2297
Offset: 1

Views

Author

Vladimir Shevelev, Mar 10 2010

Keywords

Comments

Conjectures: 1) The sequence is a permutation of prime numbers; 2) k = k(n) runs all positive integers.

Crossrefs

Programs

  • Mathematica
    a = {2}; Do[k = 1; While[(d = Complement[FactorInteger[2 k a[[-1]] - 1][[All, 1]], a]) == {}, k++]; AppendTo[a, Min@d], {n, 50}]; a (* Ivan Neretin, Dec 04 2018 *)

Extensions

Terms from a(22) onwards corrected by Ivan Neretin, Dec 04 2018