OFFSET
1,4
LINKS
Jean-Marc Falcoz, Table of n, a(n) for n = 1..10000
EXAMPLE
Between the two 0's there are 0 terms.
Between the two 1's there is 1 odd term (which is 3 - we don't count 2 as 2 is even).
Between the two 2's there are 2 even terms (which are 4 and 6 - we don't count 3, 1 and 5 as they are odd).
Between the two 3's there are 3 odd terms (which are 1, 5 and 7 - we don't count 4, 6 and 2 as they are even).
Between the two 4's there are 4 even terms (which are 6, 2, 8 and 10 - we don't count 5, 7, 3 and 9 as they are odd).
Etc.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Eric Angelini and Jean-Marc Falcoz, Nov 22 2019
STATUS
approved