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 67 terms.
LINKS
Nathan Fox, Table of n, a(n) for n = 1..10000
FORMULA
If the index is between 35 and 72 (inclusive), then a(5n) = 138n-759, a(5n+1) = 5, a(5n+2) = 138, a(5n+3) = 3, a(5n+4) = 5.
If the index is between 78 and 1245 (inclusive), then a(5n) = 1311, a(5n+1) = 3, a(5n+2) = 5, a(5n+3) = 1311n-17181, a(5n+4) = 5.
If the index is between 1251 and 309192 (inclusive), then a(5n) = 5, a(5n+1) = 19047817435n-1178393232110703, a(5n+2) = 5, a(5n+3) = 19047817435, a(5n+4) = 3.
If the index is between 309336 and 19047817368 (inclusive), then a(5n) = 5, a(5n+1) = 309258n-76697295, a(5n+2) = 5, a(5n+3) = 309258, a(5n+4) = 3.
MAPLE
CROSSREFS
KEYWORD
nonn
AUTHOR
Nathan Fox, Mar 19 2017
STATUS
approved