Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A085944
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
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
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 (list; graph; listen)
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.

PROGRAM

(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++); print(num); used[s, d] = 1; x++); (Wasserman)

CROSSREFS

Cf. A085943.

Sequence in context: A085943 A068661 A068826 this_sequence A137078 A146026 A115640

Adjacent sequences: A085941 A085942 A085943 this_sequence A085945 A085946 A085947

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jul 14 2003

EXTENSIONS

Corrected and extended by David Wasserman (wasserma(AT)spawar.navy.mil), Feb 14 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 14:49 EST 2009. Contains 167514 sequences.


AT&T Labs Research