OFFSET
1,1
EXAMPLE
a(6)=1001233451 because the first 6 digits 0,1,2,3.4,5 appear in this order as concatenated strings of 00,1,2,33,4,5 in between the two end 1's ; This prime is the smallest since it is followed by 1011234451,10012334551,10122223451,...
PROG
(Shell) # Run on a list of primes
grep -m1 '^10+1$' primelistgrep -m1 '^10+1+1$' primelist
grep -m1 '^10+1+2+1$' primelist
grep -m1 '^10+1+2+3+1$' primelist
grep -m1 '^10+1+2+3+4+1$' primelist
grep -m1 '^10+1+2+3+4+5+1$' primelist
grep -m1 '^10+1+2+3+4+5+6+1$' primelist
grep -m1 '^10+1+2+3+4+5+6+7+1$' primelist
grep -m1 '^10+1+2+3+4+5+6+7+8+1$' primelist
grep -m1 '^10+1+2+3+4+5+6+7+8+9+1$' primelist
CROSSREFS
KEYWORD
fini,full,nonn,base
AUTHOR
Lekraj Beedassy, Dec 09 2007
EXTENSIONS
Program from Charles R Greathouse IV, Nov 19 2010.
STATUS
approved