OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
At n=2, n111 = 2111 (prime).
At n=50, n111 = 50111 (prime).
At n=95, n111 = 95111 (prime).
MATHEMATICA
Select[ Range[ 290], PrimeQ[ FromDigits[ Flatten[ IntegerDigits /@ { #, 1, 1, 1}]]] &] (* Robert G. Wilson v, Feb 21 2005 *)
Select[Range[300], PrimeQ[1000#+111]&] (* Harvey P. Dale, Jul 07 2019 *)
PROG
(PARI) is(n)=isprime(1000*n+111) \\ Charles R Greathouse IV, May 22 2017
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Parthasarathy Nambi, Feb 18 2005
EXTENSIONS
More terms from Robert G. Wilson v, Feb 21 2005
STATUS
approved