OFFSET
0,4
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..81839
MATHEMATICA
A379115[n_] := If[n <= 1, 0, Mod[n*Total[MapApply[#2*Fibonacci[#]/# &, FactorInteger[n]]], 5]];
Array[A379115, 100, 0] (* Paolo Xausa, Dec 16 2024 *)
PROG
(PARI) A379115(n) = if(n<=1, 0, my(f=factor(n)); (n*sum(i=1, #f~, f[i, 2]*fibonacci(f[i, 1])/f[i, 1]))%5);
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Antti Karttunen, Dec 15 2024
STATUS
approved