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.

A065507 Smallest prime q such that (p^q+1)/(p+1) is a prime, where p = prime(n).

This page as a plain text file.
%I A065507 #12 Oct 30 2017 04:32:23
%S A065507 3,3,5,3,5,3,7,17,11,7,109,5,17,5,5,21943,17,7,3,5,7,3,19,13
%N A065507 Smallest prime q such that (p^q+1)/(p+1) is a prime, where p = prime(n).
%C A065507 It is known that for the prime 97, a(25) > 31000. - _T. D. Noe_, Feb 13 2004
%H A065507 H. Dubner and T. Granlund, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL3/DUBNER/dubner.html">Primes of the Form (b^n+1)/(b+1)</a>, J. Integer Sequences, 3 (2000), #P00.2.7.
%t A065507 Do[p = Prime[n]; k = 1; While[ !PrimeQ[ (p^Prime[k] + 1)/(p + 1)], k++ ]; Print[ Prime[k]], {n, 1, 15} ]
%Y A065507 Cf. A065854.
%Y A065507 Cf. A084742 (least k such that (n^k+1)/(n+1) is prime).
%K A065507 hard,more,nonn
%O A065507 1,1
%A A065507 _Vladeta Jovovic_, Nov 26 2001
%E A065507 More terms from _T. D. Noe_, Jan 22 2004