login
A156761
Tribonacci primes that are also primes when their digits are reversed.
0
3, 5, 17, 31, 1201, 128199521
OFFSET
1,1
COMMENTS
This is to A115347 as Fibonacci numbers A000045 are to A000213 tribonacci numbers. Except for palidromatic tribonacci numbers {3, 5, ...} these are tribonacci emirps, A000213 INTERSECTION A006567.
The next term, if it exists, is greater than A000213(10000). [From Dmitry Kamenetsky, Mar 03 2009]
FORMULA
{p such that p is in A000040 and p is in A000213 and R(p) = A004086(p) is in A000040} = {p such that p is in A056816 and R(p) = is in A000040}.
EXAMPLE
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.
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 *)
KEYWORD
more,nonn,base
AUTHOR
Jonathan Vos Post, Feb 15 2009
STATUS
approved