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.

A225893 Numbers of the form p^2 * (p^2 + 1), where p = A224718.

Original entry on oeis.org

2450, 2827442, 3420650, 131091050, 607597850, 1387525250, 3262865762, 3969189002, 4362536450, 7370136650, 8882968250, 38513866250, 43618113650, 96254752250, 110842051970, 123657370850, 135755034050, 170940489050, 304758650450, 328385729450, 472300879322
Offset: 1

Views

Author

Rafael Parra Machio, May 20 2013

Keywords

Comments

The sequence A224718 of Zak Seidov, about prime numbers p such that p^2+1 is not squarefree.

Crossrefs

Cf. A224718.

Programs

  • Mathematica
    p = Select[Prime[Range[250]], !SquareFreeQ[#^2+1]&]; p^2 * (p^2+1)

A225856 Primes p such that p^2 + 1 is squarefree.

Original entry on oeis.org

2, 3, 5, 11, 13, 17, 19, 23, 29, 31, 37, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 109, 113, 127, 131, 137, 139, 149, 151, 163, 167, 173, 179, 181, 191, 197, 199, 211, 223, 227, 229, 233, 241, 263, 269, 271, 277, 281, 283, 311, 313, 317, 331, 337
Offset: 1

Views

Author

Rafael Parra Machio, May 18 2013

Keywords

Comments

Primes of the sequence A224718 generating squarefree.

Examples

			23 is a term since 23^2+1 = 530 = 2*5*53, is squarefree.
43 is not a term since 43^2+1 = 1850 = 2*5^2*7, is not squarefree.
		

Crossrefs

Intersection of A000040 and A049533.
Cf. A224718.

Programs

  • Mathematica
    Select[Prime[Range[100]], SquareFreeQ[#^2+1]&]

A383672 Squarefree numbers k such that k^2+1 is not squarefree.

Original entry on oeis.org

7, 38, 41, 43, 57, 70, 82, 93, 107, 118, 143, 157, 182, 193, 218, 239, 251, 257, 282, 293, 307, 318, 327, 357, 382, 393, 407, 418, 437, 443, 457, 482, 493, 515, 518, 543, 557, 577, 582, 593, 606, 607, 618, 643, 682, 707, 718, 743, 746, 757, 782, 793, 807, 818, 829, 843, 857, 893
Offset: 1

Views

Author

Alexandre Herrera, May 04 2025

Keywords

Examples

			38 = 2*19 is squarefree but 38*38 + 1 = 1445 = 5*17*17 is not squarefree.
		

Crossrefs

Intersection of A005117 and A049532.
Includes A141932 and A141941.

Programs

  • Maple
    filter:= proc(n) numtheory:-issqrfree(n) and not numtheory:-issqrfree(n^2+1) end proc:
    select(filter, [$1..1000]); # Robert Israel, May 04 2025
  • Mathematica
    Select[Range[900],SquareFreeQ[#] && !SquareFreeQ[#^2+1] &] (* Stefano Spezia, May 04 2025 *)
  • PARI
    isok(k) = issquarefree(k) && !issquarefree(k^2+1); \\ Michel Marcus, May 04 2025
  • Python
    from sympy import factorint
    def is_squarefree(n):
        return all(exponent == 1 for exponent in factorint(n).values())
    print([a for a in range(1,900) if is_squarefree(a) and not(is_squarefree(a*a + 1))])
    
Showing 1-3 of 3 results.