|
|
A279274
|
|
Numbers k such that 2*k+1 and 3*k+1 are both pentagonal numbers (A000326).
|
|
3
|
|
|
238, 685382117, 380358424875, 211083026086753, 606761281164154030532, 336727147248939746087250, 186869490875990437334549968, 537159115995469726115102627401247, 298100855085679705519137567072187125, 165433513379232813905174469119753565883
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(238 +685381879*x +379673042758*x^2 +3874618202*x^3 +6994421*x^4 +2*x^5) / ((1 -x)*(1 -9602*x +x^2)*(1 +9602*x +92198403*x^2 +9602*x^3 +x^4)).
|
|
EXAMPLE
|
238 is in the sequence because 2*238+1 = 477 and 3*238+1 = 715 are both pentagonal numbers.
|
|
MATHEMATICA
|
Rest@ CoefficientList[Series[x (238 + 685381879 x + 379673042758 x^2 + 3874618202 x^3 + 6994421 x^4 + 2 x^5)/((1 - x) (1 - 9602 x + x^2) (1 + 9602 x + 92198403 x^2 + 9602 x^3 + x^4)), {x, 0, 10}], x] (* Michael De Vlieger, Dec 09 2016 *)
|
|
PROG
|
(PARI) isok(k) = ispolygonal(2*k+1, 5) & ispolygonal(3*k+1, 5)
(PARI) Vec(x*(238 +685381879*x +379673042758*x^2 +3874618202*x^3 +6994421*x^4 +2*x^5) / ((1 -x)*(1 -9602*x +x^2)*(1 +9602*x +92198403*x^2 +9602*x^3 +x^4)) + O(x^15))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|