OFFSET
1,1
COMMENTS
Most terms are equal to 11.
Up to a(103) = 15, the only exceptions are a(n) = 2 for n = 1, 2, 3, 4, 14, 24, ..., 94.
Then a(n) = 2 for n = 112, 122, ..., 192, and a(201) = 15.
Then a(n) = 2 for n = 210, 220, ..., 290, and a(299) = 15.
This pattern repeats 8 times, with a(n) = 15 for n = 397, 495, ..., 887.
Then a(984) = 28, after which the previous pattern resumes, with a(n) = 2 for n = 992, 1002, ..., 1072, then a(n) = 15 for n = 1081, 1179, ..., 1865.
This larger pattern continues with a(n) = 28 for n = 1962, 2940, 3918, ..., 8808.
A still larger pattern starts at a(9785) = 41, after which the previous pattern repeats with a(9881) = 15, later a(10762) = 28 etc.
FORMULA
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Oct 29 2024
STATUS
approved