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!)
A026642 a(n) = A026637(2*n-1, n-2). 11
1, 7, 28, 112, 439, 1711, 6652, 25846, 100450, 390670, 1520764, 5925718, 23112931, 90239407, 352654084, 1379410438, 5400188206, 21157958962, 82959736504, 325514137048, 1278093308806, 5021436970822, 19740128055928 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,2
LINKS
FORMULA
a(n) = ( (7*n^2 - 11*n + 6)*a(n-1) + 2*(n-1)*(2*n-1)*a(n-2) )/(2*(n-2)*(n+1)), n >= 4. - G. C. Greubel, Jul 01 2024
MATHEMATICA
a[n_]:= a[n]= If[n<4, 7^(n-2), ((7*n^2-11*n+6)*a[n-1] + 2*(n-1)*(2*n- 1)*a[n-2])/(2*(n-2)*(n+1))];
Table[a[n], {n, 2, 40}] (* G. C. Greubel, Jul 01 2024 *)
PROG
(Magma)
[n le 2 select 7^(n-1) else ((7*n^2+3*n+2)*Self(n-1) + 2*n*(2*n+1)*Self(n-2))/(2*(n-1)*(n+2)): n in [1..40]]; // G. C. Greubel, Jul 01 2024
(SageMath)
@CachedFunction
def a(n): # a = A026642
if n<4: return 7^(n-2)
else: return ((7*n^2-11*n+6)*a(n-1) + 2*(n-1)*(2*n-1)*a(n-2))/(2*(n-2)*(n+1))
[a(n) for n in range(2, 41)] # G. C. Greubel, Jul 01 2024
CROSSREFS
Cf. A026970.
Sequence in context: A200762 A243150 A344206 * A200467 A002042 A200666
KEYWORD
nonn
AUTHOR
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 July 23 04:43 EDT 2024. Contains 374544 sequences. (Running on oeis4.)