login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A018836 Number of squares on infinite chess-board at <= n knight's moves from a fixed square. 7
1, 9, 41, 109, 205, 325, 473, 649, 853, 1085, 1345, 1633, 1949, 2293, 2665, 3065, 3493, 3949, 4433, 4945, 5485, 6053, 6649, 7273, 7925, 8605, 9313, 10049, 10813, 11605, 12425, 13273, 14149, 15053, 15985, 16945, 17933, 18949, 19993, 21065, 22165 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

LINKS

Erich Friedman, Illustration of initial terms

FORMULA

G.f.: (1+5*x+12*x^2-8*x^4+4*x^5)*(1+x)/(1-x)^3;.

a(n) = 1-6*n+14*n^2+4*sign(n*(n-1)*(n-3)). - Zak Seidov, Mar 01 2005

MAPLE

(1+5*x+12*x^2-8*x^4+4*x^5)*(1+x)/(1-x)^3;

MATHEMATICA

Table[1-6 n+14 n^2+4 Sign[n(n-1)(n-3)], {n, 0, 50}] (* Zak Seidov *)

Join[{1, 9, 41, 109}, LinearRecurrence[{3, -3, 1}, {205, 325, 473}, 50]] (* From Harvey P. Dale, Aug 16 2011 *)

CROSSREFS

Cf. A018842, A098498.

Sequence in context: A000451 A000437 A095809 * A001846 A034441 A201275

Adjacent sequences:  A018833 A018834 A018835 * A018837 A018838 A018839

KEYWORD

nonn,nice

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Marc LeBrun (mlb(AT)well.com)

EXTENSIONS

More terms from Zak Seidov (zakseidov(AT)yahoo.com), Mar 01 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 14:07 EST 2012. Contains 205623 sequences.