|
| |
|
|
A005210
|
|
a(n) = |a(n-1)+2a(n-2)-n|.
(Formerly M0400)
|
|
6
| |
|
|
1, 1, 0, 2, 3, 1, 0, 6, 3, 5, 0, 2, 11, 1, 8, 6, 5, 1, 8, 10, 5, 3, 10, 8, 3, 7, 14, 0, 1, 29, 0, 26, 7, 25, 4, 18, 11, 9, 8, 14, 11, 3, 18, 20, 11, 5, 20, 18, 9, 5, 28, 14, 17, 9, 12, 26, 7, 1, 44, 14, 41, 7, 26, 24, 11, 7, 38, 16, 23, 15, 10, 32, 21, 11, 22, 32, 1, 13, 64, 10, 57, 5, 36, 38, 25, 15, 22, 36
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,4
|
|
|
REFERENCES
| N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
"Z-Sequences", Popular Computing (Calabasas, CA), Vol. 4 (No. 42, Sep 1976), pp. 12-16.
|
|
|
LINKS
| T. D. Noe, Table of n, a(n) for n=1..1000
|
|
|
CROSSREFS
| Cf. A005211.
Sequence in context: A173050 A172380 A144633 * A048994 A132393 A121434
Adjacent sequences: A005207 A005208 A005209 * A005211 A005212 A005213
|
|
|
KEYWORD
| nonn,easy,nice
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
|
|
EXTENSIONS
| More terms from David W. Wilson (davidwwilson(AT)comcast.net).
|
| |
|
|