OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
37 is a term since 3 and 7 are odd digits and 3 < 7.
MAPLE
A061244:= {}:
for d from 1 to 20 do
for n1 from 0 to d do
x1:= (10^n1-1)/9;
for n3 from 0 to d-n1 do
x3:= x1*10^n3 + (10^n3-1)/9*3;
for n5 from 0 to d-n1-n3 do
x5:= x3*10^n5 + (10^n5-1)/9*5;
for n7 from 0 to d-n1-n3-n5 do
x7:= x5*10^n7 + (10^n7-1)/9*7;
n9:= d-n1-n3-n5-n7;
x:= x7*10^n9 + (10^n9-1);
if isprime(x) then
fi
od od od od od:
# Robert Israel, Apr 20 2014
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Amarnath Murthy, Apr 23 2001
EXTENSIONS
More terms from Patrick De Geest, Jun 04 2001
STATUS
approved