login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A355366 Maximal GCD of five positive integers with sum n. 8
1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 3, 2, 1, 3, 1, 4, 3, 2, 1, 4, 5, 2, 3, 4, 1, 6, 1, 4, 3, 2, 7, 6, 1, 2, 3, 8, 1, 7, 1, 4, 9, 2, 1, 8, 7, 10, 3, 4, 1, 9, 11, 8, 3, 2, 1, 12, 1, 2, 9, 8, 13, 11, 1, 4, 3, 14, 1, 12, 1, 2, 15, 4, 11, 13, 1, 16, 9, 2, 1, 14, 17, 2, 3, 11, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
5,6
LINKS
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
Maximal GCD of k positive integers with sum n for k = 2..10: A032742 (k=2,n>=2), A355249 (k=3), A355319 (k=4), this sequence (k=5), A355368 (k=6), A355402 (k=7), A354598 (k=8), A354599 (k=9), A354601 (k=10).
Sequence in context: A059981 A033676 A095165 * A046805 A034880 A257977
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Jun 29 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)