OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(4) = 23 is a term because A316650(23) = 43 is prime.
MAPLE
f:= proc(n) local a, b, c;
c:= convert(convert(n, base, 10), `+`);
a:= floor(n/c);
b:= n mod c;
10^(1+ilog10(b))*a+b;
end proc:
select(n -> isprime(f(n)), [$1..100]);
CROSSREFS
KEYWORD
nonn,base
AUTHOR
J. M. Bergot and Robert Israel, Jan 15 2021
STATUS
approved