OFFSET
1,2
COMMENTS
Conjecture: all positive integers coprime to 10 occur in the sequence. - Robert Israel, Jan 14 2025
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
313,11311,131113 etc. are all primes.
MAPLE
aba:= proc(a, b) (a*10^(1+ilog10(b))+b)*10^(1+ilog10(a))+a end proc:
Cands:= remove(t -> t mod 5 = 0, [seq(i, i=3 .. 10^5, 2)]):
R:= 1: x:= 1: nC:= nops(Cands):
for n from 2 to 100 do
found:= false:
for i from 1 to nC do
if isprime(aba(Cands[i], x)) then
found:= true;
R:= R, Cands[i];
x:= Cands[i];
Cands:= subsop(i=NULL, Cands);
nC:= nC-1;
break
fi
od; if not found then break fi;
od:
R; # Robert Israel, Jan 14 2025
CROSSREFS
KEYWORD
AUTHOR
Amarnath Murthy, Nov 28 2003
EXTENSIONS
More terms from David Wasserman, Apr 22 2004
STATUS
approved