login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A214879 Numbers that cannot be written as sum of the squares of two primes. 4
0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 31, 32, 33, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 51, 52, 54, 55, 56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 75, 76 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

A045698(a(n)) = 0.

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

FORMULA

a(n) ~ n. - Charles R Greathouse IV, Sep 01 2015

PROG

(Haskell)

import Data.List (elemIndices)

a214879 n = a214879_list !! (n-1)

a214879_list = elemIndices 0 a045698_list

-- Reinhard Zumkeller, Jul 29 2012

(PARI) is(n)=forprime(p=2, sqrtint(n), if(isprimepower(n-p^2)==2, return(0))); 1 \\ Charles R Greathouse IV, Sep 01 2015

CROSSREFS

Cf. A045636 (complement).

Sequence in context: A283970 A121166 A249017 * A187226 A026470 A014133

Adjacent sequences:  A214876 A214877 A214878 * A214880 A214881 A214882

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller, Jul 29 2012

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 22 07:40 EDT 2019. Contains 326172 sequences. (Running on oeis4.)