login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A014089 Sum of a square and a prime. 6
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, 29, 30, 31, 32, 33, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 59, 60, 61, 62 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A002471(a(n))>0; complement of A014090; A143989 is a subsequence. [From Reinhard Zumkeller, Sep 07 2008]
LINKS
PROG
(PARI) isok(n) = for (i = 0, sqrtint(n), if (isprime(n - i^2), return (1))); 0 \\ Michel Marcus, Sep 04 2013
CROSSREFS
Cf. A058654.
Sequence in context: A057717 A183222 A063742 * A065039 A171397 A336557
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 27 16:14 EDT 2024. Contains 373746 sequences. (Running on oeis4.)