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.

A361563 Wagstaff numbers that are of the form 4*k + 1.

Original entry on oeis.org

5, 13, 17, 61, 101, 313, 701, 1709, 2617, 10501, 42737, 95369, 138937, 267017, 374321
Offset: 1

Views

Author

Jorge Coveiro, Mar 15 2023

Keywords

Comments

15135397 is also in the sequence, but may not be the next term.

Crossrefs

Cf. A000978 (Wagstaff numbers), A002144 (primes of form 4*k + 1), A112634, A361562.

Programs

  • Python
    from itertools import count, islice
    from sympy import prime, isprime
    def A361563_gen(): # generator of terms
        return filter(lambda p: not p&2 and isprime(((1<A361563_list = list(islice(A361563_gen(),7)) # Chai Wah Wu, Mar 21 2023

Formula

Intersection of A000978 and A002144.