OFFSET
1,2
LINKS
Jinyuan Wang, Table of n, a(n) for n = 1..500
PROG
(PARI) a(n) = for(k=2^(n-1), 2^n-1, v=binary(k); if(ispseudoprime(p=fromdigits(v)), return(p))); 0; \\ Jinyuan Wang, Mar 09 2020
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Jan 04 1999
STATUS
approved