OFFSET
1,1
COMMENTS
Sequence is finite, ending with a(185) = 78941.
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 1..185 (full sequence)
MAPLE
for a from 1 to 9 do for b from a+1 to 9 do for c from b+1 to 9 do for d from 2 to c-1 do for e from 1 to d-1 do n:=10000*a+1000*b+100*c+10*d+e: if(isprime(n))then printf("%d, ", n): fi: od:od:od:od:od: # Nathaniel Johnston, Jun 23 2011
CROSSREFS
KEYWORD
nonn,base,easy,fini,full
AUTHOR
Ki Punches, Feb 14 2009
EXTENSIONS
Minor edits by Ray Chandler, Feb 20 2009
STATUS
approved