A287106 Positions of 1 in A287104.
1, 4, 6, 8, 10, 13, 15, 17, 20, 22, 25, 27, 29, 32, 34, 36, 38, 41, 43, 46, 48, 50, 53, 55, 57, 59, 62, 64, 66, 69, 71, 73, 75, 78, 80, 83, 85, 87, 90, 92, 94, 96, 99, 101, 103, 106, 108, 111, 113, 115, 118, 120, 122, 124, 127, 129, 131, 134, 136, 138, 140
Offset: 1
Links
- Clark Kimberling, Table of n, a(n) for n = 1..10000
- Jacques Justin and Laurent Vuillon, Return words in Sturmian and episturmian words, RAIRO-Theoretical Informatics and Applications 34.5 (2000): 343-356.
Programs
Formula
a(n) = 1 + Sum_{k=1..n-1} d(k), where d(k) = 3 if A287072(k)=0, and d(k) = 2 otherwise, for k = 1,...,n. - Michel Dekking, Sep 16 2019
Comments