OFFSET
1,1
COMMENTS
Sequences like this are more naturally considered with the first nonzero term in position 1. But this sequence would then match A000027 for its first 19395 terms.
Most terms in this sequence appear in a long pattern stretching from a(58340) through a(80425266), of 16 interleaved sequences.
This sequence has exactly 80425397 terms (of positive index). a(80425397) = 0, so an attempt to calculate a(80425398) would refer to itself.
LINKS
Nathan Fox, Table of n, a(n) for n = 1..61000
FORMULA
If the index is between 67 and 19396 (inclusive), then a(7n) = 7n+2, a(7n+1) = 7n+19397, a(7n+2) = 7n+19399, a(7n+3) = 7, a(7n+4) = 2n+38835, a(7n+5) = n+38783, a(7n+6) = 19393.
MAPLE
CROSSREFS
KEYWORD
nonn,fini
AUTHOR
Nathan Fox, Mar 19 2017
STATUS
approved