OFFSET
1,3
COMMENTS
An inventory sequence variation.
LINKS
Neal Gersh Tolunsky, Table of n, a(n) for n = 1..20000
Kevin Ryde, PARI/GP Code
EXAMPLE
The recorded terms of the sequence:
Zero 0's thus far
| Zero 1's thus far
| | Two 0's thus far
| | | One 2's thus far
| | | | One 1's thus far
| | | | | Two 0's thus far
| | | | | |
This sequence: 0, 0, 2, 1, 1, 2, ...
A025581: 0, 1, 0, 2, 1, 0, ...
PROG
(PARI) See links.
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Tamas Sandor Nagy, Dec 29 2022
STATUS
approved