|
|
A002798
|
|
a(n) = a(n-1)+a(n-2)-a(n-3).
(Formerly M5055 N2186)
|
|
2
|
|
|
18, 45, 69, 96, 120, 147, 171, 198, 222, 249, 273, 300, 324, 351, 375, 402, 426, 453, 477, 504, 528, 555, 579, 606, 630, 657, 681, 708, 732, 759, 783, 810, 834, 861, 885, 912, 936, 963, 987, 1014, 1038, 1065, 1089
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
The old defition was a(n) = a(n-2)+a(n-3)-a(n-5).
|
|
REFERENCES
|
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
|
|
LINKS
|
|
|
FORMULA
|
|
|
MAPLE
|
|
|
MATHEMATICA
|
LinearRecurrence[{1, 1, -1}, {18, 45, 69}, 50] (* Harvey P. Dale, Sep 17 2023 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|