OFFSET
5,6
MATHEMATICA
a[n_] := GCD @@@ IntegerPartitions[n, {5}] // Max;
Table[a[n], {n, 5, 100}] (* Jean-François Alcover, Sep 21 2022 *)
PROG
(PARI) a(n) = { my (v=0); forpart(p=n, v=max(v, gcd(Vec(p))), , [5, 5]); v } \\ Rémy Sigrist, Jul 01 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Jun 29 2022
STATUS
approved