A156761 Tribonacci primes that are also primes when their digits are reversed.
3, 5, 17, 31, 1201, 128199521
Offset: 1
Examples
a(5) = 1201 because 1201 is prime, and is the 13th tribonacci number A000213(13), and R(1201) = A004086(1201) = 1021 is also prime. a(6) = 128199521 = the 10th tribonacci prime A056816(10), and its digital reverse 125991821 is also prime.
Programs
-
Mathematica
Select[LinearRecurrence[{1,1,1},{1,1,1},200],AllTrue[{#,IntegerReverse[ #]},PrimeQ]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jul 31 2019 *)
Comments