login
A082617
a(1) = 1, then squarefree palindromes such that a(n+1) = p*a(n) where p is a prime not dividing any previous term.
1
1, 2, 6, 66, 858, 6006, 222222, 22444422, 204042240402, 2010020110200102, 263312634436213362, 205221063132933339231360122502
OFFSET
1,2
EXAMPLE
a(4) = 66, a(5) = 858 = 13*66.
PROG
(Python)
from sympy import factorint, nextprime
A082617_list, a = [1], 1
for _ in range(10):
p = 2
b = p*a
bs = str(b)
while bs != bs[::-1] or max(factorint(b).values()) > 1:
p = nextprime(p)
b = p*a
bs = str(b)
A082617_list.append(b)
a = b # Chai Wah Wu, Jun 09 2015
CROSSREFS
Cf. A082618.
Sequence in context: A335645 A082619 A046399 * A377580 A006517 A395842
KEYWORD
more,nonn,base
AUTHOR
Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), Apr 29 2003
EXTENSIONS
More terms from R. J. Mathar, Jul 15 2007
Corrected example by Chai Wah Wu, Jun 09 2015
a(12) from Giovanni Resta, Jun 11 2015
STATUS
approved