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.

A127026 Let f(n) = exp(Pi*sqrt(n)); sequence gives numbers n such that f(n)-floor(f(n)) < 1/10.

Original entry on oeis.org

2, 30, 33, 42, 56, 96, 100, 103, 140, 148, 164, 171, 172, 182, 187, 188, 205, 211, 223, 226, 239, 241, 243, 253, 268, 300, 318, 328, 359, 361, 364, 379, 387, 394, 408, 410, 421, 423, 425, 426, 436, 455, 465, 467, 490, 492, 509, 529, 536, 546, 579, 583, 587
Offset: 1

Views

Author

Artur Jasinski, Jan 03 2007

Keywords

Crossrefs

Programs

  • Mathematica
    a = {}; Do[If[((Exp[Pi Sqrt[x]] - Floor[Exp[Pi Sqrt[x]]]) > 0) && (( Exp[Pi Sqrt[x]] - Floor[Exp[Pi Sqrt[x]]])< 10^(-1)), AppendTo[a, x]], {x, 1, 1000}]; a