The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A309011 Lexicographically earliest sequence of nonnegative integers such that for any n > 0, the palindromic word (a(n), a(n-1), ..., a(1), a(0), a(1), ..., a(n-1), a(n)) is squarefree. 2
 0, 1, 2, 0, 1, 0, 2, 0, 1, 2, 0, 2, 1, 0, 1, 2, 0, 1, 0, 2, 0, 1, 3, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 2, 0, 2, 1, 0, 1, 2, 0, 1, 0, 2, 0, 1, 2, 0, 2, 1, 0, 1, 3, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 2, 0, 2, 1, 0, 1, 2, 0, 1, 0, 2, 0, 1, 2, 0, 2 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 COMMENTS A word is squarefree if it has no subsequence of the form XX. This sequence has similarities with A007814, the lexicographically earliest squarefree sequence of nonnegative integers. Is this sequence unbounded? LINKS Rémy Sigrist, C program for A309011 EXAMPLE For n = 0: - a(0) = 0. For n = 1: - "000" is not squarefree, - "101" is squarefree, - hence a(1) = 1, For n = 2: - "01010" is not squarefree, - "11011" is not squarefree, - "21012" is squarefree, - hence a(2) = 2, For n = 3: - "0210120" is squarefree, - hence a(3) = 0. PROG (C) See Links section. CROSSREFS Cf. A007814. Sequence in context: A325036 A194942 A129688 * A086713 A275730 A049771 Adjacent sequences:  A309008 A309009 A309010 * A309012 A309013 A309014 KEYWORD nonn AUTHOR Rémy Sigrist, Jul 06 2019 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified December 1 14:10 EST 2021. Contains 349430 sequences. (Running on oeis4.)