OFFSET
1,1
LINKS
Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
EXAMPLE
If k=29, then k111111 = 29111111 (prime).
If k=101, then k111111 = 101111111 (prime).
If k=122, then k111111 = 122111111 (prime).
MATHEMATICA
Select[Range[500], PrimeQ[FromDigits[Join[IntegerDigits[#], {1, 1, 1, 1, 1, 1} ]]]&] (* Harvey P. Dale, Aug 22 2011 *)
Select[Range[500], PrimeQ[#*10^6+111111]&] (* Harvey P. Dale, Nov 30 2022 *)
PROG
(Magma) [ n: n in [1..700] | IsPrime(Seqint([1, 1, 1, 1, 1, 1] cat Intseq(n))) ]; // Vincenzo Librandi, Feb 04 2011
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Parthasarathy Nambi, Feb 24 2005
STATUS
approved