login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A085944
Let S = 12345678901234567890123456..., the cyclic concatenation of digits; partition this string into distinct squarefree numbers. To avoid leading zeros, no member may end with the digit 9.
0
1, 2, 3, 4567, 890, 123, 45678, 901, 23, 4567890, 1234, 5, 6, 7, 89012345, 67, 89012345678, 90123, 45678901, 2345, 678, 901234, 5678, 9012345, 67890, 12345, 678901, 2345678, 901234567, 8901234567890, 1234567, 8901234567890123
OFFSET
1,2
EXAMPLE
a(4) = 4567 because 4567 is squarefree, while 4, 45 and 456 are not.
a(5) = 890 because 89 would cause a(6) to have a leading 0.
PROG
(PARI) used = matrix(9, 60); x = 1; for (n = 1, 80, num = x; s = x; d = 1; while (used[s, d] || !issquarefree(num) || x == 9, x = (x + 1)%10; num = 10*num + x; d++); print1(num, ", "); used[s, d] = 1; x++); \\ David Wasserman, Feb 14 2005
CROSSREFS
Cf. A085943.
Sequence in context: A068661 A271631 A068826 * A137078 A146026 A115640
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Jul 14 2003
EXTENSIONS
Corrected and extended by David Wasserman, Feb 14 2005
STATUS
approved