A385993 a(n) is the number of distinct values appearing an odd number of times among A002487(0), ..., A002487(n).
1, 2, 1, 2, 3, 4, 3, 2, 1, 2, 3, 4, 5, 4, 3, 2, 3, 4, 5, 6, 7, 8, 7, 6, 5, 6, 7, 6, 5, 4, 3, 2, 1, 2, 3, 4, 5, 6, 7, 8, 9, 8, 9, 10, 9, 10, 9, 8, 9, 10, 11, 10, 11, 10, 9, 10, 9, 8, 7, 6, 5, 4, 3, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 11, 12, 11, 12, 13, 12, 13
Offset: 0
Keywords
Examples
Sequence begins: n a(n) A091948(n) -- ---- ---------- 0 1 1 1 2 1 2 1 2 3 2 1 4 3 3 5 4 1 6 3 2 7 2 2 8 1 4 9 2 1 10 3 3 11 4 1 12 5 3
Links
- Rémy Sigrist, Table of n, a(n) for n = 0..8192
- Rémy Sigrist, PARI program
- Index entries for sequences related to Stern's sequences
Programs
-
PARI
\\ See Links section.