login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 60th year, we have over 367,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A345217 a(n) is the first emirp that starts a chain of exactly n emirps under the mapping f(x) = x + reverse(x) + 1. 0
13, 149, 70949, 12314597 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) == 5 (mod 6) for n >= 2.
No more terms < 16*10^11. - Lars Blomberg, Jun 25 2021
LINKS
EXAMPLE
a(1) = 13 is the first emirp, but 13+31+1 = 45 is not an emirp.
a(2) = 149 because 149 and 149+941+1 = 1091 are emirps, but 1091+1901+1 = 2993 is not an emirp.
a(3) = 70949 because 70949, 70949+94907+1 = 165857, and 165857+758561 = 924419 are emirps, but 924419+914429+1 = 1838849 is not an emirp.
MAPLE
revdigs:= proc(n) local L, i;
L:= convert(n, base, 10);
add(L[-i]*10^(i-1), i=1..nops(L))
end proc:
f:= proc(n) local r, t, x;
x:= n;
for t from 0 do
if not isprime(x) then return t fi;
r:= revdigs(x);
if not (r <> n and isprime(x) and isprime(r)) then return t fi;
x:= x+r+1;
od;
end proc:
V:= Vector(4): V[1]:= 13: count:= 1:
for n from 17 by 6 while count < 4 do
v:= f(n);
if v > 0 and V[v] = 0 then V[v]:= n; count:= count+1 fi;
od:
convert(V, list);
CROSSREFS
Cf. A006567.
Sequence in context: A125448 A163148 A355414 * A185405 A051475 A242576
KEYWORD
nonn,base,more
AUTHOR
J. M. Bergot and Robert Israel, Jun 10 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 11 11:45 EST 2023. Contains 367725 sequences. (Running on oeis4.)