OFFSET
4,1
COMMENTS
It is conjectured that after the first two 0's, the number of consecutive 0's is only 4 or 5, and the number of consecutive 1's is only 3 or 4 (tested up to n=10^4). The sequence looks quasiperiodic (or with a very long true period if any).
This was proved by an autonomous AI agent, see the Tsoukalas paper and the Lean file. The proof uses the equivalences a(n)=0 iff 2*2^k <= T(n) < 3*2^k and a(n)=1 iff 3*2^k <= T(n) < 4*2^k, plus ratio bounds 1.83 <= T(n+1)/T(n) <= 1.85, propagating bracketings of T(n+2)..T(n+5) via the tribonacci recurrence; small n is dispatched by computation (Summary by Opus 4.7). - Ralf Stephan, May 28 2026
LINKS
Chai Wah Wu, Table of n, a(n) for n = 4..10000
Google Deepmind, AlphaProof Nexus: A271591 Lean file
George Tsoukalas et al., Advancing Mathematics Research with AI-Driven Formal Proof Search, arXiv:2605.22763 [cs.AI], 2026.
FORMULA
EXAMPLE
MATHEMATICA
a = LinearRecurrence[{1, 1, 1}, {0, 0, 1}, 120]; (* to generate A000073 *)
Table[IntegerDigits[a, 2][[i]][[2]], {i, 5, Length[a]}]
PROG
(Python)
A271591_list, a, b, c = [], 0, 1 , 1
for n in range(4, 10001):
a, b, c = b, c, a+b+c
A271591_list.append(int(bin(c)[3])) # Chai Wah Wu, Feb 07 2018
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Andres Cicuttin, Apr 10 2016
STATUS
approved
