login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Palindromic terms of the sequence A245317.
1

%I #17 Sep 26 2014 17:29:53

%S 2112,4803443084,6992662996,180461164081,214591195412,409473374904,

%T 563715517365,4163019339103614,1050417996997140501

%N Palindromic terms of the sequence A245317.

%C For each n, A100414(n).reversal(A100414(n)) is in the sequence, where dot denotes concatenation. What is the first term of the sequence which is not of the above form?

%C a(9) <= 253385633342243336583352 and a(10) <= 661494322636636223494166.

%C a(9) = A245317(997140501) = 1050417996997140501 is the smallest term of the sequence which is not of the form A100414(n).reversal(A100414(n)). 253385633342243336583352 and 661494322636636223494166 are two consecutive terms of the sequence. - _Farideh Firoozbakht_, Sep 23 2014

%F For n<9, a(n) = A100414(n).reversal(A100414(n)).

%t h[n_]:=If[!PrimeQ[n],FromDigits[Flatten[{IntegerDigits[n],IntegerDigits[n-PrimePi[n]-1]}]]];Do[a=h[n];If[!PrimeQ[n]&&FromDigits[Reverse[IntegerDigits[a]]]==a,Print[a]],{n,100000000}]

%Y Cf. A002808, A004086, A100414, A245317.

%K nonn,base,more

%O 1,1

%A _Jahangeer Kholdi_, Sep 17 2014

%E a(9) from _Farideh Firoozbakht_, Sep 23 2014