login
A340744
Primes in A340618, in the order in which they occur.
0
31, 23, 19, 43, 73, 53, 43, 37, 61, 43, 83, 73, 43, 73, 53, 67, 79, 73, 61, 59, 173, 151, 109, 223, 163, 109, 127, 109, 109, 233, 109, 109, 163, 139, 113, 109, 109, 181, 109, 109, 523, 353, 199, 383, 331, 199, 223, 313, 199, 173, 163, 271, 229, 211, 199, 199, 751, 503, 433, 307, 229, 313, 2411
OFFSET
1,1
FORMULA
a(n) = A316650(A340618(n)).
EXAMPLE
a(4) = A316650(23) = 43 is the fourth term in A316650 that is prime.
MAPLE
f:= proc(n) local a, b, c, p;
c:= convert(convert(n, base, 10), `+`);
a:= floor(n/c);
b:= n mod c;
p:= 10^(1+ilog10(b))*a+b;
if isprime(p) then p fi;
end proc:
map(f, [$1..1000]);
CROSSREFS
Sequence in context: A298724 A299558 A348624 * A361315 A291471 A276992
KEYWORD
nonn,look
AUTHOR
J. M. Bergot and Robert Israel, Jan 18 2021
STATUS
approved