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.

A014089 Sum of a square and a prime.

This page as a plain text file.
%I A014089 #11 Jul 08 2025 02:52:21
%S A014089 2,3,4,5,6,7,8,9,11,12,13,14,15,16,17,18,19,20,21,22,23,24,26,27,28,
%T A014089 29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,
%U A014089 53,54,55,56,57,59,60,61,62
%N A014089 Sum of a square and a prime.
%C A014089 A002471(a(n))>0; complement of A014090; A143989 is a subsequence. [From _Reinhard Zumkeller_, Sep 07 2008]
%o A014089 (PARI) isok(n) = for (i = 0, sqrtint(n), if (isprime(n - i^2), return (1))); 0 \\ _Michel Marcus_, Sep 04 2013
%Y A014089 Cf. A058654.
%K A014089 nonn,easy
%O A014089 1,1
%A A014089 _N. J. A. Sloane_