A131189 Numbers n >= 0 such that d(n) = (n^1 + 1)*(n^2 + 2) ... (n^14 + 14) / 14!, e(n) = (n^1 + 1)*(n^2 + 2) ... (n^15 + 15) / 15!, and f(n) = (n^1 + 1)*(n^2 + 2) ... (n^16 + 16) / 16! take nonintegral values.
2, 9, 16, 23, 30, 37, 51, 58, 65, 72, 79, 86, 100, 107, 114, 121, 128, 135, 149, 156, 163, 170, 177, 184, 198, 205, 212, 219, 226, 233, 247, 254, 261, 268, 275, 282, 296, 303, 310, 317, 324, 331, 345, 352, 359, 366, 373, 380, 394, 401, 408, 415, 422, 429
Offset: 1
Links
- G. C. Greubel, Table of n, a(n) for n = 1..1000
- Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,1,-1).
Programs
-
Maple
a:= n-> `if`((n-1) mod 6 = 5, 7*floor((7*n-6)/6)-5, 7*floor((7*n-6)/6)+2): seq(a(n), n=1..80); # Alois P. Heinz, Aug 08 2013
-
Mathematica
LinearRecurrence[{1, 0, 0, 0, 0, 1, -1}, {2, 9, 16, 23, 30, 37, 51}, 50] (* G. C. Greubel, Feb 19 2017 *)
-
PARI
x='x+O('x^50); Vec(x*(12*x^6+7*x^5+7*x^4+7*x^3+7*x^2+7*x+2) / ((x-1)^2*(x+1)*(x^2-x+1)*(x^2+x+1))) \\ G. C. Greubel, Feb 19 2017
Formula
a(n) = 7*floor((7n+1)/6) - 5, if n mod 6 = 5; a(n) = 7*floor((7n+1)/6) + 2, otherwise. For e(n) and g(n), proof is similar; see also the comments. - Max Alekseyev
G.f.: x*(12*x^6+7*x^5+7*x^4+7*x^3+7*x^2+7*x+2) / ((x-1)^2*(x+1)*(x^2-x+1)*(x^2+x+1)). - Colin Barker, Aug 08 2013
Extensions
More terms from Colin Barker, Aug 08 2013
Comments