|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
EXAMPLE
|
a(4) = 66, a(5) = 858 = 13*66.
|
|
PROG
|
(Python)
from sympy import factorint, nextprime
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)
|
|
CROSSREFS
|
|
|
KEYWORD
|
more,nonn,base
|
|
AUTHOR
|
Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), Apr 29 2003
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|