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.

A235053 Numbers k of the form p^2 + 1 (for prime p) where k^2 + 1 is also prime.

This page as a plain text file.
%I A235053 #17 Jul 18 2023 02:10:56
%S A235053 10,26,170,1850,2210,16130,69170,76730,85850,113570,120410,157610,
%T A235053 196250,218090,237170,253010,332930,351650,368450,452930,528530,
%U A235053 537290,597530,734450,786770,822650,1329410,2036330,2211170
%N A235053 Numbers k of the form p^2 + 1 (for prime p) where k^2 + 1 is also prime.
%C A235053 Except for 26, all numbers are divisible by 10 and the tens digit is an odd number.
%H A235053 Seiichi Manyama, <a href="/A235053/b235053.txt">Table of n, a(n) for n = 1..1000</a>
%e A235053 351650 = 593^2 + 1 (593 is prime) and 351650^2 + 1 is prime, so 351650 is a member of this sequence.
%o A235053 (Python)
%o A235053 import sympy
%o A235053 from sympy import isprime
%o A235053 {print(n**2+1) for n in range(10**7) if isprime(n) if isprime((n**2+1)**2+1)}
%Y A235053 Numbers in both A066872 and A005574.
%Y A235053 Cf. A235982, A235983.
%K A235053 nonn
%O A235053 1,1
%A A235053 _Derek Orr_, Jan 03 2014