This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A138986 #27 Apr 06 2025 18:01:07 %S A138986 1,2,3,4,5,13,15,17,19,21,35,38,41,44,47,67,71,75,79,83,109,114,119, %T A138986 124,129,161,167,173,179,185,223,230,237,244,251,295,303,311,319,327, %U A138986 377,386,395,404,413,469,479,489,499,509,571,582,593,604,615,683,695,707 %N A138986 a(n) = Frobenius number for 6 successive numbers = F(n+1, n+2, n+3, n+4, n+5, n+6). %H A138986 <a href="/index/Rec#order_11">Index entries for linear recurrences with constant coefficients</a>, signature (1,0,0,0,2,-2,0,0,0,-1,1). %F A138986 G.f.: x*(x^10-6*x^5-x^4-x^3-x^2-x-1) / ((x-1)^3*(x^4+x^3+x^2+x+1)^2). [_Colin Barker_, Dec 13 2012] %F A138986 a(n) = n + (n+1)*floor((n-1)/5). - _Giorgos Kalogeropoulos_, Apr 06 2025 %e A138986 a(6)=13 because 13 is the largest number k such that the equation 7*x_1 + 8*x_2 + 9*x_3 + 10*x_4 + 11*x_5 + 12*x_6 = k has no solution for any nonnegative x_i (in other words, for every k > 13 there exist one or more solutions). %t A138986 Table[FrobeniusNumber[{n + 1, n + 2, n + 3, n + 4, n + 5, n + 6}], {n, 1, 100}] %t A138986 Table[FrobeniusNumber[Range[n,n+5]],{n,2,100}] (* _Harvey P. Dale_, Dec 22 2018 *) %t A138986 Table[n + Floor[(n-1)/5]*(n+1), {n, 100}] (* _Giorgos Kalogeropoulos_, Apr 06 2025 *) %Y A138986 Frobenius number for k successive numbers: A028387 (k=2), A079326 (k=3), A138984 (k=4), A138985 (k=5), this sequence (k=6), A138987 (k=7), A138988 (k=8). %K A138986 nonn,easy %O A138986 1,2 %A A138986 _Artur Jasinski_, Apr 05 2008