OFFSET
1,1
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..60
FORMULA
Conjectures from Chai Wah Wu, Jul 30 2020: (Start)
a(n) = a(n-1) + 3*a(n-2) - 3*a(n-3) for n > 7.
G.f.: x*(-10*x^6 + 10*x^5 - x^4 - x^3 - 5*x^2 + 2*x + 4)/((x - 1)*(3*x^2 - 1)). (End)
EXAMPLE
The fourth (A246360(4) = 5) and the fifth (A246360(5) = 8) record of A048673 (1, 2, 3, 5, 4, 8, ...) occur at A029744(4) = 4 and A029744(5) = 6 respectively. In range between, the maximum must occur at 5, where A048673(5) = 4, thus a(4-3) = a(1) = 4. (All the previous records of A048673 are in consecutive positions, 1, 2, 3, 4, thus there are no previous subrecords).
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 11 2014
STATUS
approved