OFFSET
1,2
COMMENTS
The corresponding record values are 1, 2, 6, 14, 33, 35, 69, 220, 17270, 19085, 64190, 471725, 1551362, 8215449, 8990167, ...
EXAMPLE
MATHEMATICA
p1 = PartitionsP[0]; gm = 0; seq = {}; Do[p2 = PartitionsP[n]; g = GCD[p1, p2]; If[g > gm, gm = g; AppendTo[seq, n-1]]; p1 = p2, {n, 1, 10^4}]; seq
DeleteDuplicates[With[{nn=900000}, Thread[{Range[nn], GCD@@#&/@Partition[PartitionsP[ Range[ 0, nn]], 2, 1]}]], GreaterEqual[#1[[2]], #2[[2]]]&][[;; , 1]]-1 (* The program generates the first 13 terms of the sequence. *) (* Harvey P. Dale, Nov 22 2023 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Amiram Eldar, May 09 2020
STATUS
approved