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!)
A259859 a(0)=0; thereafter A003470(n-1) + A003470(n) - 1. 0
0, 1, 3, 10, 38, 177, 999, 6676, 51564, 451585, 4418555, 47746686, 564528978, 7247396065, 100378220943, 1491699317032, 23673159231704, 399553959924801, 7146023007880179, 134997604341408370, 2686037319660797310, 56143557248353416721, 1229914413684635491703 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
John Riordan and N. J. A. Sloane, Correspondence, 1974
FORMULA
D-finite with recurrence: (-n+2)*a(n) +(n-1)^2*a(n-1) +2*(-n+2)*a(n-2) +(-n^2+4*n-2)*a(n-3) +(n-1)*a(n-4)=0. - R. J. Mathar, Jul 15 2015
MAPLE
b:= proc(n) b(n):= `if`(n<2, 1, n*b(n-1)-b(n-2)+1+(-1)^n) end:
a:= n-> `if`(n=0, 0, b(n-1)+b(n)-1):
seq(a(n), n=0..22); # Alois P. Heinz, Jun 17 2021
MATHEMATICA
b[n_] := b[n] = If[n<2, 1, n*b[n-1] - b[n-2] + 1 + (-1)^n];
a[n_] := If[n == 0, 0, b[n-1] + b[n] - 1];
Table[a[n], {n, 0, 22}] (* Jean-François Alcover, Dec 26 2022, after Alois P. Heinz *)
CROSSREFS
Cf. A003470.
Sequence in context: A010842 A140710 A103296 * A298940 A327847 A111749
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jul 07 2015, based on a suggestion from John Riordan, Nov 14 1974.
EXTENSIONS
Offset corrected by N. J. A. Sloane, Jun 16 2021
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 17 23:23 EDT 2024. Contains 371767 sequences. (Running on oeis4.)