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

%I #7 Sep 08 2022 08:45:51

%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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 01:06 EDT 2024. Contains 371964 sequences. (Running on oeis4.)