OFFSET
0,5
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000 (first 501 terms from Harry J. Smith)
Index entries for linear recurrences with constant coefficients, signature (2, 1, -4, 2, 0, -2, 4, -1, -2, 1).
FORMULA
EXAMPLE
a(9)=100 since the ninth quarter-square is 20 and the twentieth quarter-square is 100.
MATHEMATICA
Floor[Floor[Range[0, 50]^2/4]^2/4] (* or *) LinearRecurrence[{2, 1, -4, 2, 0, -2, 4, -1, -2, 1}, {0, 0, 0, 1, 4, 9, 20, 36, 64, 100}, 50] (* Harvey P. Dale, Dec 13 2014 *)
PROG
(PARI) { default(realprecision, 10); for (n = 0, 500, write("b059403.txt", n, " ", floor(floor(n^2/4)^2/4)); ) } \\ Harry J. Smith, Jun 26 2009
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Henry Bottomley, Mar 21 2001
STATUS
approved