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.

A098561 Numbers n such that the sum of the squares of the first n primes is prime.

This page as a plain text file.
%I A098561 #19 Aug 22 2015 06:35:44
%S A098561 2,18,26,36,68,78,144,158,164,174,192,212,216,236,264,288,294,338,344,
%T A098561 356,384,404,416,426,500,516,518,522,534,540,548,614,678,680,782,858,
%U A098561 866,876,878,896,900,912,950,974,996,1064,1080,1082,1100,1122,1158,1160
%N A098561 Numbers n such that the sum of the squares of the first n primes is prime.
%C A098561 a(n) must clearly be even.
%H A098561 Zak Seidov, <a href="/A098561/b098561.txt">Table of n, a(n) for n = 1..1050</a>
%e A098561 2 is a term as the sum of the squares of the first two primes is 2^2 + 3^2 = 13, which is prime.
%t A098561 Select[Range[1000], PrimeQ[Sum[Prime[i]^2, {i, #}]] &] (* _Carl Najafi_, Aug 22 2011 *)
%Y A098561 Cf. A098562 (corresponding primes), A024450 (sums of squares of primes), A098563 (sums of cubes of primes), A013916 (sums of primes).
%K A098561 nonn
%O A098561 1,1
%A A098561 _Rick L. Shepherd_, Sep 14 2004