login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A304094
Number of Lucas numbers (A000204: 1, 3, 4, 7, 11, ... excluding 2) that divide n
4
1, 1, 2, 2, 1, 2, 2, 2, 2, 1, 2, 3, 1, 2, 2, 2, 1, 3, 1, 2, 3, 2, 1, 3, 1, 1, 2, 3, 2, 2, 1, 2, 3, 1, 2, 4, 1, 1, 2, 2, 1, 3, 1, 3, 2, 1, 2, 3, 2, 1, 2, 2, 1, 3, 2, 3, 2, 2, 1, 3, 1, 1, 3, 2, 1, 3, 1, 2, 2, 2, 1, 4, 1, 1, 2, 3, 3, 2, 1, 2, 2, 1, 1, 4, 1, 1, 3, 3, 1, 3, 2, 2, 2, 2, 1, 3, 1, 2, 3, 2, 1, 2, 1, 2, 3
OFFSET
1,3
LINKS
FORMULA
a(n) = A304092(n) - A059841(n).
a(n) = A304096(n) + A079978(n) + 1.
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = A093540 = 1.962858... . - Amiram Eldar, Dec 31 2023
PROG
(PARI)
isA000204(n) = { my(u1=1, u2=3, old_u1); if(n<=2, (n%2), while(n>u2, old_u1=u1; u1=u2; u2=old_u1+u2); (u2==n)); };
A304094(n) = sumdiv(n, d, isA000204(d));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 13 2018
STATUS
approved