OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..300
Wikipedia, Primorial number system.
EXAMPLE
3 is a term since it is a prime number and its representation in primorial base is 11 (1 * 2# + 1) which is a palindrome.
MATHEMATICA
max = 8; bases = Prime @ Range[max, 1, -1]; nmax = Times @@ bases - 1; Select[Range[nmax], PrimeQ[#] && PalindromeQ @ IntegerDigits[#, MixedRadix[bases]] &]
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Mar 20 2020
STATUS
approved