OFFSET
1,1
COMMENTS
Trivially, all terms are multiples of 7. Also terms are divisible by 2 or 3 or 5, and by any number of primes > 7.
LINKS
Ray Chandler, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,0,0,0,0,0,1,-1).
FORMULA
From Elmo R. Oliveira, Jul 01 2026: (Start)
a(n) = 7 * A374277(n).
a(n) = a(n-1) + a(n-14) - a(n-15).
G.f.: 7*x * (1 + x^2) * (1 + x + x^2) * (2 - x - 2*x^2 + 3*x^3 + 3*x^4 - 5*x^5 + 3*x^6 + 3*x^7 - 2*x^8 - x^9 + 2*x^10) / ((1 - x) * (1 - x^14)). (End)
EXAMPLE
14 = 2*7, 28 = 2*2*7, 35 = 5*7, 56 = 2^3*7, 63 = 3*3*7, 147 = 3*7*7, 154 = 2*7*11.
MATHEMATICA
Select[Range[14, 1000], 1 < Length[fi = FactorInteger[#]] && 7 == fi[[2, 1]] &]
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
Zak Seidov, Jun 22 2020
STATUS
approved
