OFFSET
1,1
COMMENTS
Also primes that terminate at 3,2,1 in the x-1 problem: Repeat, if x is even divide by 2 else subtract 1, until 3 is reached. - Cino Hilliard, Mar 27 2003
Or, primes in A004760. - Vladimir Shevelev, May 04 2009
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..20000
EXAMPLE
A000040(16)=53 -> '110101' therefore 53 is a term.
MATHEMATICA
Select[Prime[Range[200]], Take[IntegerDigits[#, 2], 2]=={1, 1}&] (* Harvey P. Dale, Jul 30 2019 *)
PROG
(PARI) pxnm1(n, p) = { forprime(x=2, n, p1 = x; while(p1>1, if(p1%2==0, p1/=2, p1 = p1*p-1; ); if(p1 == 3, break); ); if(p1 == 3, print1(x" ")) ) }
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Feb 03 2003
STATUS
approved