The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A227394 The maximum value of x^4(n-x)(x-1) for x in 1..n is reached for x = a(n). 0
 1, 1, 2, 3, 4, 5, 6, 7, 7, 8, 9, 10, 11, 12, 13, 13, 14, 15, 16, 17, 18, 18, 19, 20, 21, 22, 23, 23, 24, 25, 26, 27, 28, 28, 29, 30, 31, 32, 33, 33, 34, 35, 36, 37, 38, 38, 39, 40, 41, 42, 43, 43, 44, 45, 46, 47, 48, 48, 49, 50, 51, 52, 53, 53, 54, 55, 56 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,3 COMMENTS The maximum value of x(n-x)(x-1) for x in 1..n is reached for x = A004396(n). LINKS FORMULA For n > 10 a(n) = floor((10n + 7)/12). MATHEMATICA PR[n_, r_] := (n - r)(r - 1) r^4; maxicon[lis_] := If[Length[lis] < 2, Length[lis], If[lis[[1]] >= lis[[2]], 1, 1 + maxicon[Rest[lis]]]]; SEQ[n_] := maxicon[Table[PR[n, i], {i, 1, n}]]; Table[SEQ[n], {n, 1, 122}] CROSSREFS Cf. A004396. Sequence in context: A093697 A157466 A194260 * A209900 A097043 A245336 Adjacent sequences:  A227391 A227392 A227393 * A227395 A227396 A227397 KEYWORD nonn AUTHOR José María Grau Ribas, Jul 10 2013 STATUS approved

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

Last modified September 18 02:19 EDT 2020. Contains 337164 sequences. (Running on oeis4.)