OFFSET
1,3
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program for A136347
EXAMPLE
Among the first 30 terms of the sequence the run of seven 3's (from a(23) to a(29)) is the longest run of consecutive equal terms. (So m = 7.) Among the first 30 terms of the sequence, all 30 terms are coprime to 7. So a(31) = 30.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Leroy Quet, Dec 25 2007
EXTENSIONS
More terms from Rémy Sigrist, Aug 02 2018
STATUS
approved