The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A168397 a(n) = 8 * floor(n/2). 3
0, 8, 8, 16, 16, 24, 24, 32, 32, 40, 40, 48, 48, 56, 56, 64, 64, 72, 72, 80, 80, 88, 88, 96, 96, 104, 104, 112, 112, 120, 120, 128, 128, 136, 136, 144, 144, 152, 152, 160, 160, 168, 168, 176, 176, 184, 184, 192, 192, 200, 200, 208, 208, 216, 216, 224, 224, 232, 232, 240, 240, 248 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(n+1) is the total number of unit circles (on square lattice) enclosing a circle of radius n centered at (0,0), with intersections allowed. If intersections are prohibited the sequence would be {a(n+2)}. See illustration in links. - Kival Ngaokrajang, Jun 21 2014
LINKS
FORMULA
a(n) = 8*n - a(n-1) - 8, with n>1, a(1)=0.
G.f.: 8*x^2/((1+x)*(x-1)^2). - Vincenzo Librandi, Sep 18 2013
a(n) = 8 * floor(n/2) = 8 * A004526(n). - Vincenzo Librandi, Sep 18 2013
E.g.f.: 2*(1 + (2*x - 1)*exp(2*x))*exp(-x). - G. C. Greubel, Jul 19 2016
MAPLE
A168397:=n->8*floor(n/2); seq(A168397(n), n=1..50); # Wesley Ivan Hurt, Jun 21 2014
MATHEMATICA
Table[8 Floor[n/2], {n, 70}] (* Vincenzo Librandi, Sep 18 2013 *)
PROG
(Magma) [8*Floor(n/2): n in [1..70]]; // Vincenzo Librandi, Sep 18 2013
CROSSREFS
Cf. A004526.
Sequence in context: A040057 A205709 A028997 * A186986 A112439 A309461
KEYWORD
nonn,easy,less
AUTHOR
Vincenzo Librandi, Nov 24 2009
EXTENSIONS
Simpler definition and terms corrected by Vincenzo Librandi, Sep 18 2013
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 May 25 09:23 EDT 2024. Contains 372786 sequences. (Running on oeis4.)