OFFSET
1,1
COMMENTS
Terms are unique and in numerical order.
There are terms that correspond to more than one member of A228139, such as 17 = 23-2*3 = 89-8*9.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(5) = 37 is a term because 41 is prime with no digit 0 and 37 = 41-4*1.
MAPLE
d:= 4: # to get terms with at most d digits
M:= 10^d + 9^d:
f:= proc(n) local L, v;
L:= convert(n, base, 10);
if member(0, L) then return NULL fi;
if isprime(n) then
v:= n - convert(L, `*`);
if isprime(v) then v fi
fi
end proc:
sort(convert(select(`<`, map(f, {seq(i, i=11..M, 2)}), 10^d), list));
CROSSREFS
KEYWORD
nonn,base
AUTHOR
J. M. Bergot and Robert Israel, May 20 2021
STATUS
approved