login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A175269 a(n) = floor(2^sqrt(n)) - floor(n^sqrt(2)). 1

%I

%S 1,1,0,-1,-3,-5,-7,-9,-11,-14,-17,-20,-22,-25,-28,-32,-34,-37,-41,-44,

%T -47,-51,-54,-57,-60,-62,-66,-69,-72,-75,-78,-81,-84,-87,-90,-92,-94,

%U -98,-100,-102,-104,-106,-108,-110,-111,-113,-114,-116,-117,-117,-118

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

%H G. C. Greubel, <a href="/A175269/b175269.txt">Table of n, a(n) for n = 0..10000</a>

%t Table[Floor[2^Sqrt[n]] - Floor[n^Sqrt[2]], {n, 0, 100}]

%o (PARI) vector(100, n, n--; floor(2^sqrt(n)) - floor(n^sqrt(2))) \\ _G. C. Greubel_, Oct 02 2018

%o (MAGMA) [Floor(2^Sqrt(n)) - Floor(n^Sqrt(2)): n in [0..100]]; // _G. C. Greubel_, Oct 02 2018

%Y Cf. A134886, A175268.

%K sign

%O 0,5

%A _Zak Seidov_, Mar 18 2010

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 9 20:59 EDT 2021. Contains 343746 sequences. (Running on oeis4.)