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.

A237191 Numbers k such that k+1, k+3, k^2+1, k^2+3, k^4+1, k^4+3 are six primes.

Original entry on oeis.org

2, 520360, 14320216, 30527896, 119668186, 120506050, 131448430, 142493926, 211158676, 254574706, 276368680, 306216940, 315122416, 421132180, 472731400, 506213890, 540271396, 616078786, 629310346, 646308250, 741176296, 752897860, 800587480, 851425030, 897745996
Offset: 1

Views

Author

Alex Ratushnyak, Feb 04 2014

Keywords

Crossrefs

A subsequence of A067662, A070325, A070689, A080149.

Programs

  • Python
    from sympy import isprime
    for n in range(0,1000000000,2):
        if isprime(n+1) and isprime(n*n+1) and isprime(n**4+1):
            if isprime(n+3) and isprime(n*n+3) and isprime(n**4+3):
                print(n, end=', ')