login
A361249
Run length transform of A362415.
2
1, 1, 2, 2, 3, 1, 4, 3, 5, 4, 6, 5, 7, 6, 3, 4, 8, 7, 9, 8, 10, 9, 8, 10, 11, 10, 12, 11, 13, 12, 14, 13, 11, 14, 15, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 19, 19, 20, 20, 21, 21, 22, 20, 20, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 22, 23, 27, 28, 27, 28, 28, 29, 29, 30, 30, 31, 31
OFFSET
1,3
COMMENTS
This sequence is the length of the runs of 1s and 2s in A362415.
Every number k appears as a(n) = k for some odd n, and if A362415(n) = 2 then also a second time at another odd n (with it too A362415(n) = 2). Likewise, similarly, for even n and so altogether every k at least 2 times and a maximum of 4 times.
LINKS
Kevin Ryde, PARI/GP Code
PROG
(PARI) \\ See links.
CROSSREFS
Sequence in context: A366749 A304529 A071281 * A204995 A371907 A368400
KEYWORD
nonn
AUTHOR
Neal Gersh Tolunsky, Apr 20 2023
STATUS
approved