cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A027663 a(n)/100000 gives sqrt(n) to 5 places after the decimal point.

Original entry on oeis.org

100000, 141421, 173205, 200000, 223607, 244949, 264575, 282843, 300000, 316228, 331662, 346410, 360555, 374166, 387298, 400000, 412311, 424264, 435890, 447214, 458258, 469042, 479583, 489898, 500000, 509902, 519615, 529150, 538516, 547723, 556776, 565685, 574456
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Maple
    lprint(round(evalf(100000*sqrt(n))));
  • Mathematica
    Table[Floor[FromDigits[RealDigits[Sqrt[n],10,7][[1]]]/10+1/2],{n,30}] (* Harvey P. Dale, Jan 31 2012 *)
  • Python
    from math import isqrt
    def A027663(n): return (m:=isqrt(k:=n*10**10))+int((k-m*(m+1)<<2)>=1) # Chai Wah Wu, Jul 30 2022