OFFSET
1,1
COMMENTS
REFERENCES
D. R. Heath-Brown, "Artin's conjecture for primitive roots", Quarterly Journal of Mathematics 37:1 (1986) pp. 27-38.
N. M. Timofeev, "The Hardy-Ramanujan and Halasz inequalities for shifted primes", Mathematical Notes 57:5 (1995), pp. 522-535.
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
Kevin Broughan and Zhou Qizhi, Flat primes and thin primes, Bulletin of the Australian Mathematical Society 82:2 (2010), pp. 282-292.
Qizhi Zhou, Multiply perfect numbers of low abundancy, PhD thesis (2010)
FORMULA
a(n) >> n (log n)^2.
MATHEMATICA
onePrimeQ[n_] := n == 1 || PrimeQ[n]; Select[Prime[Range[2, 1000]], onePrimeQ[(# + 1)/2^IntegerExponent[# + 1, 2]] &] (* T. D. Noe, Mar 06 2012 *)
PROG
(PARI) is(n)=n%2&&isprime(n)&&(isprime((n+1)>>valuation(n+1, 2)) || n+1==1<<valuation(n+1, 2))
CROSSREFS
KEYWORD
nonn
AUTHOR
Charles R Greathouse IV, Jul 11 2011
STATUS
approved