login
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