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.

A214516 Differences between the numbers n such that n^2 + 1 is prime.

This page as a plain text file.
%I A214516 #4 Aug 06 2012 18:44:39
%S A214516 1,2,2,4,4,2,4,4,2,10,4,14,2,10,8,10,6,4,16,6,4,4,2,4,4,12,4,6,4,10,6,
%T A214516 4,4,20,2,4,14,6,6,4,10,6,4,4,6,10,4,16,6,8,12,14,10,34,2,10,4,6,14,
%U A214516 10,6,4,4,20,2,4,4,16,6,40,8,12,14,6,8,10,40,2
%N A214516 Differences between the numbers n such that n^2 + 1 is prime.
%C A214516 Sequence A005574 has the values of n. This sequence is the first differences of A005574. Note that a(1) is the only odd value.
%H A214516 T. D. Noe, <a href="/A214516/b214516.txt">Table of n, a(n) for n = 1..10000</a>
%F A214516 a(n) = 2*A214517(n) for n > 1.
%t A214516 Differences[Select[Range[100], PrimeQ[1 + #^2] &, 101]]
%Y A214516 Cf. A002496 (primes of the form 1+n^2), A005574 (values of n).
%K A214516 nonn
%O A214516 1,2
%A A214516 _T. D. Noe_, Aug 06 2012