OFFSET
1,2
COMMENTS
Numbers n such that A002817(n) is divisible by n. [Bruno Berselli, Dec 11 2013]
LINKS
Bruno Berselli, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,1,-1).
FORMULA
G.f.: x*(x+1)*(x^4+x^3+x^2+1)/((x-1)^2*(x^4+x^3+x^2+x+1)). [Colin Barker, Jun 22 2012]
MATHEMATICA
LinearRecurrence[{1, 0, 0, 0, 1, -1}, {1, 2, 3, 5, 7, 9}, 80] (* Harvey P. Dale, Jan 06 2026 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
