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