OFFSET
1,1
COMMENTS
31 and 37 are primes.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
3 is in the sequence because 37313 is prime.
99 is in the sequence because 373199 is prime.
207 is in the sequence because 3731207 is prime.
MAPLE
a:=proc(n) local z: z:=nops(convert(n, base, 10)): if isprime(3731*10^z+n)=true then n else fi end: seq(a(n), n=1..1000); # Emeric Deutsch, Jul 04 2005
MATHEMATICA
Select[Range[1000], PrimeQ[3731*10^IntegerLength[#]+#]&] (* Harvey P. Dale, Aug 26 2013 *)
PROG
(Magma) [ n: n in [1..800] | IsPrime(Seqint(Intseq(n) cat [1, 3, 7, 3])) ];
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Parthasarathy Nambi, Jun 25 2005
EXTENSIONS
More terms from Emeric Deutsch, Jul 04 2005
STATUS
approved