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.

A109907 Beginning with 7, a(n+1) = greatest prime of the form k*{a(n)-k}-1. If no prime is obtained the sequence ends at that point.

Original entry on oeis.org

7, 11, 29, 197, 9689, 23469167, 137700449916401, 4740353476794815041972197893, 5617737771240172767652929826457529708578746492288409399, 7889744416604625924469156192031986939513870147397674409917489724005347434748024264638497225986334149357868007
Offset: 0

Views

Author

Amarnath Murthy, Jul 15 2005

Keywords

Comments

Conjecture: The sequence is infinite.

Crossrefs

Programs

  • PARI
    { b(n) = forstep(k=n\2,1,-1,if(isprime(k*(n-k)-1),return(k*(n-k)-1)));return(0) }
    my(s=7); while(1,print1(s,", ");s=b(s)) \\ Max Alekseyev, Oct 04 2005

Extensions

More terms from Max Alekseyev, Oct 04 2005