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.

Showing 1-3 of 3 results.

A348195 Number of primes of the form 4k+3 < n^2.

Original entry on oeis.org

0, 1, 2, 3, 5, 6, 8, 9, 12, 13, 15, 18, 21, 23, 26, 29, 32, 34, 37, 40, 43, 47, 52, 55, 59, 63, 67, 70, 75, 79, 83, 88, 93, 97, 101, 106, 111, 115, 123, 131, 136, 140, 146, 151, 157, 164, 169, 174, 181, 186, 193, 200, 207, 213, 221, 225, 230, 241, 246, 255, 263, 269, 280, 287, 294, 301, 308, 316, 326, 331, 343, 353, 358
Offset: 1

Views

Author

Seiichi Manyama, Oct 06 2021

Keywords

Crossrefs

Programs

  • PARI
    a(n) = sum(k=2, n^2-1, isprime(k)&&k%4==3);

Formula

a(n) = A066490(n^2).

A348196 Number of primes of the form 4k+1 < n^2.

Original entry on oeis.org

0, 0, 1, 2, 3, 4, 6, 8, 9, 11, 14, 15, 17, 20, 21, 24, 28, 31, 34, 37, 41, 44, 46, 49, 54, 58, 61, 66, 70, 74, 78, 83, 87, 93, 98, 103, 107, 112, 116, 119, 126, 133, 136, 143, 148, 154, 159, 167, 175, 180, 184, 192, 201, 207, 212, 219, 226, 232, 240, 247, 255, 262, 268, 276, 283, 292, 300, 307, 314, 322, 331, 336, 346, 354
Offset: 1

Views

Author

Seiichi Manyama, Oct 06 2021

Keywords

Crossrefs

Programs

  • PARI
    a(n) = sum(k=2, n^2-1, isprime(k)&&k%4==1);

Formula

a(n) = A066339(n^2).

A348194 a(n) = A077767(n) - A077766(n).

Original entry on oeis.org

1, 0, 0, 1, 0, 0, -1, 2, -1, -1, 2, 1, -1, 2, 0, -1, -1, 0, 0, -1, 1, 3, 0, -1, 0, 1, -2, 1, 0, 0, 0, 1, -2, -1, 0, 1, -1, 4, 5, -2, -3, 3, -2, 1, 1, 0, -3, -1, 0, 3, -1, -2, 0, 3, -3, -2, 5, -3, 2, 0, -1, 5, -1, 0, -2, -1, 1, 3, -3, 3, 5, -5, 1, 3, -4, 4, 2, -2, -1, -3, 0, -1, 6, 1, -4, -3, 2, -4, -4, 2, 0, -1, 1, 1, -1, -1, 2, -1, 3, 1, 2, -2, 5, 1, -1
Offset: 1

Views

Author

Seiichi Manyama, Oct 06 2021

Keywords

Crossrefs

Programs

  • PARI
    a(n) = sum(k=n^2, (n+1)^2, (isprime(k)&&k%4==3)-(isprime(k)&&k%4==1));

Formula

a(n) = A348193(n+1) - A348193(n).
Showing 1-3 of 3 results.