OFFSET
1,1
COMMENTS
No further terms up to 10^9.
EXAMPLE
MAPLE
f:= n -> n + convert(select(isprime, convert(n, base, 10)), `+`):
F:= proc(n) option remember; local t, x;
x:= f(n);
if x = n or not isprime(x) then 1 else 1+procname(x) fi
end proc:
V:= Vector(6): count:= 0: p:= 1:
while count < 6 do
p:= nextprime(p); v:= F(p);
if v <= 6 and V[v] = 0 then V[v]:= p; count:= count+1 fi
od:
convert(V, list);
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
J. M. Bergot and Robert Israel, Mar 31 2021
STATUS
approved