A287107 Positions of 2 in A287104.
2, 7, 11, 14, 18, 23, 26, 30, 35, 39, 44, 47, 51, 56, 60, 63, 67, 72, 76, 81, 84, 88, 93, 97, 100, 104, 109, 112, 116, 121, 125, 128, 132, 137, 141, 146, 149, 153, 158, 162, 165, 169, 174, 177, 181, 186, 190, 195, 198, 202, 207, 211, 214, 218, 223, 226, 230
Offset: 1
Links
- Clark Kimberling, Table of n, a(n) for n = 1..10000
Programs
Formula
a(n) = 2 + Sum_{k=1..n-1} d(k), where d(k)=5 if A287072(k)=0, d(k)=4 if A287072(k)=1, and d(k)=3 if A287072(k)=2. - Michel Dekking, Sep 16 2019
Comments