OFFSET
1,1
COMMENTS
All terms == 1 or 3 (mod 6). - Robert Israel, Mar 27 2018
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
3 is in the sequence because 100003 is prime.
81 is in the sequence because 1000081 is prime.
247 is in the sequence because 10000247 is prime.
MAPLE
select(n -> isprime(n+10^(ilog10(n)+5)), [seq(seq(6*i+j, j=[1, 3]), i=0..1000)]); # Robert Israel, Mar 27 2018
MATHEMATICA
Select[Range[1000], PrimeQ[10000*10^IntegerLength[#]+#]&] (* Harvey P. Dale, Jun 30 2020 *)
PROG
(Magma) [ n: n in [1..900] | IsPrime(Seqint(Intseq(n) cat [0, 0, 0, 0, 1])) ]; // Klaus Brockhaus, Feb 02 2011
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Parthasarathy Nambi, Mar 30 2005
STATUS
approved