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.

A180449 Primes of the form floor( (k*(sqrt(3)*k-1))/sqrt(2) ).

Original entry on oeis.org

3, 167, 197, 577, 631, 809, 1009, 1231, 1741, 1931, 2029, 2339, 3533, 4079, 7207, 10301, 11933, 14741, 17551, 18743, 24943, 26003, 32027, 37813, 42239, 45013, 49831, 51827, 54377, 61843, 76369, 81973, 122849, 128339, 130729, 145531, 154097, 171047, 172883
Offset: 1

Views

Author

William A. Tedeschi, Sep 07 2010, typo in definition corrected Sep 09 2010

Keywords

Programs

  • Mathematica
    Select[With[{c3=Sqrt[3],c2=Sqrt[2]},Table[Floor[n (c3 n-1)/c2], {n,500}]],PrimeQ] (* Harvey P. Dale, May 05 2011 *)
  • PARI
    for(n=1, 1e4, if(ispseudoprime(t=floor((n*(sqrt(3)*n-1))/sqrt(2))), print1(t", "))); v \\ Charles R Greathouse IV, Feb 18 2011