A091842 Lengths of suffix blocks associated with A091799.
1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 10, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 10, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 10, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 42, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 10, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 10
Offset: 1
Keywords
Examples
The first suffix block or "glue string" of length 10 is "4454444455", occurring as A091799(5760309077..5760309086). This is also the first occurrence of "55" in A091799. The first suffix block of length 42 is "4454444455"."444445"^5."55" (where . is concatenation) which occurs approximately at position 4.56*10^38. This is also the first occurrence of "555" in A091799. - _M. F. Hasler_, Aug 08 2018, corrected Sep 30 2018
Links
- M. F. Hasler, Table of n, a(n) for n = 1..1500
- F. J. van de Bult, D. C. Gijswijt, J. P. Linderman, N. J. A. Sloane and Allan Wilks, A Slow-Growing Sequence Defined by an Unusual Recurrence, J. Integer Sequences, Vol. 10 (2007), #07.1.2.
- Index entries for sequences related to Gijswijt's sequence
Programs
-
PARI
print_A091842(LIM=oo,A=[],c=#A)={while(#A
k||break; k=m); A=concat(A,max(k,4)); if(k<4,#A>1&&print1(#A-c",");c=#A))} \\ M. F. Hasler, Aug 09 2018
Formula
a(n) = A091843(valuation(n-1,4)) for n < 259. For larger n, the index n must be increased by the number of terms "200" which occur* up to n-1 (* e.g., at n = 256, 511, 766, 1277, 1532, ...). - M. F. Hasler, Aug 09 2018
Comments