OFFSET
1,9
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
a[n_] := Max[FactorInteger[6*Floor[n/2] - (-1)^n][[;; , 2]]]; a[1] = 0; Array[a, 100]
PROG
(PARI) a(n) = if(n == 1, 0, vecmax(factor(n\2*6-(-1)^n)[, 2]));
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Aug 23 2024
STATUS
approved