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!)
A121488 a(n) = 8*n^2 - floor(n*sqrt(8))^2. 1

%I #7 Feb 15 2017 22:14:30

%S 4,7,8,7,4,32,31,28,23,16,7,63,56,47,36,23,8,92,79,64,47,28,7,119,100,

%T 79,56,31,4,144,119,92,63,32,196,167,136,103,68,31,223,188,151,112,71,

%U 28,248,207,164,119,72,23,271,224,175,124,71,16,292,239,184,127,68,7

%N a(n) = 8*n^2 - floor(n*sqrt(8))^2.

%H Charles R Greathouse IV, <a href="/A121488/b121488.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = 8*n^2 - floor(n*sqrt(8))^2.

%e a(2) = 8*2^2-floor(2*sqrt(8))^2 = 32-25 = 7.

%p A121488:=n->8*n^2-floor(n*sqrt(8))^2: seq(A121488(n), n=1..100); # _Wesley Ivan Hurt_, Feb 15 2017

%o (PARI) a(n) = 8*n^2 - sqrtint(8*n^2)^2 \\ _Charles R Greathouse IV_, Feb 15 2017

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Aug 02 2006

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 April 19 04:35 EDT 2024. Contains 371782 sequences. (Running on oeis4.)