OFFSET
1,1
LINKS
Neal Gersh Tolunsky, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program.
Neal Gersh Tolunsky, Graph of first 200000 terms.
EXAMPLE
Let t'(n) be the number of terms that appear with a different frequency from that of a(n-1) and t(n) be the number of remaining terms.
The resulting a(n) = t'(n) - t(n) are then:
n t'(n) t(n) a(n)
-- ---- ---- ----
1 * * -2
2 0 1 -1
3 0 2 -2
4 1 2 -1
5 0 4 -4
6 4 1 3
7 4 2 2
8 4 3 1
9 4 4 0
10 4 5 -1
PROG
(PARI) \\ See Links section.
CROSSREFS
KEYWORD
sign
AUTHOR
Neal Gersh Tolunsky, May 06 2024
STATUS
approved