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.

A098242 Numbers k such that gcd(2k+1, numerator(Bernoulli(4k+2))) is not squarefree.

Original entry on oeis.org

12, 24, 37, 60, 62, 84, 87, 112, 122, 137, 144, 162, 171, 180, 181, 187, 212, 237, 253, 262, 264, 269, 287, 312, 318, 337, 362, 387, 412, 416, 420, 422, 423, 433, 437, 462, 465, 480, 487, 512, 537, 541, 544, 562, 563, 587, 591, 612, 637, 662, 665, 684, 687
Offset: 1

Views

Author

Ralf Stephan, Sep 01 2004

Keywords

Crossrefs

Complement of A098240.

Programs

  • Mathematica
    Select[Range[700], !SquareFreeQ[GCD[2*# + 1, BernoulliB[4*# + 2]]] &] (* Amiram Eldar, Aug 31 2024 *)
  • PARI
    for(n=1,3000,if(!issquarefree(gcd(2*n+1,numerator(bernfrac(4*n+2)))),print1(n",")))