login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
Index entries for linear recurrences with constant coefficients, signature (1,0,885289046402,-885289046402,0,-1,1).
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
Sequence in context: A286213 A251404 A238602 * A282812 A140032 A289109
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Dec 09 2016
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)