cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A350285 a(n) is the least d > 0 such that A010060(n) = A010060(n - i*d) for i = 0..A350226(n)-1 (A010060 corresponds to the Thue-Morse sequence).

This page as a plain text file.
%I A350285 #11 Dec 30 2021 14:50:24
%S A350285 1,1,1,3,2,2,3,3,1,3,5,3,3,6,3,3,2,7,3,6,5,5,3,3,6,3,5,9,3,6,6,3,1,3,
%T A350285 5,7,6,6,12,3,10,10,7,7,3,9,3,3,12,7,3,6,5,10,9,17,7,6,5,9,3,12,6,9,2,
%U A350285 7,3,15,5,5,14,14,9,12,12,12,3,19,6,3,17,20
%N A350285 a(n) is the least d > 0 such that A010060(n) = A010060(n - i*d) for i = 0..A350226(n)-1 (A010060 corresponds to the Thue-Morse sequence).
%H A350285 Rémy Sigrist, <a href="/A350285/b350285.txt">Table of n, a(n) for n = 0..8191</a>
%H A350285 Rémy Sigrist, <a href="/A350285/a350285.txt">C program for A350285</a>
%F A350285 a(n) * (A350226(n) - 1) <= n.
%e A350285 For n = 21:
%e A350285 - A350226(21) = 3,
%e A350285 - the first 22 terms of A010060 are:
%e A350285        0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1
%e A350285                                         *              *              *
%e A350285                             *                    *                    *
%e A350285           *                             *                             *
%e A350285 - A010060(11) = A010060(16) = A010060(21),
%e A350285 - A010060(7) = A010060(14) = A010060(21),
%e A350285 - A010060(1) = A010060(11) = A010060(21),
%e A350285 - the first differences are 5, 7 and 10,
%e A350285 - the least first difference is 5,
%e A350285 - so a(21) = 5.
%o A350285 (C) See Links section.
%Y A350285 Cf. A010060, A350226.
%K A350285 nonn
%O A350285 0,4
%A A350285 _Rémy Sigrist_, Dec 23 2021