OFFSET
1,1
COMMENTS
Andrew Rupinski showed that a(95) exists (see the links below).
LINKS
Prime Puzzles & Problems Connection, Puzzle 376. n=p*2^x.
Andrew Rupinski, Prime Curios!.
EXAMPLE
a(14)=2956838897 because 2^14*2956838897=48444848488448 has 14 digits with two distinct digits and 2956838897 is the smallest prime p such that 2^14*p has these properties.
MATHEMATICA
a[1]=3; a[n_]:=(For[m=Floor[5^(n-1)/2], !(PrimeQ[m]&&Length[Union[ IntegerDigits[2^n*m]]]==2&&Length[IntegerDigits[2^n*m]]==n), m++ ]; m); Do[Print[a[n]], {n, 14}]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Farideh Firoozbakht, Oct 25 2006
EXTENSIONS
Edited by Don Reble, Oct 29 2006
STATUS
approved