[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A051035
Composite numbers which can be represented as the sum of two primes (i.e., A002808 excluding A025583).
2
4, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 22, 24, 25, 26, 28, 30, 32, 33, 34, 36, 38, 39, 40, 42, 44, 45, 46, 48, 49, 50, 52, 54, 55, 56, 58, 60, 62, 63, 64, 66, 68, 69, 70, 72, 74, 75, 76, 78, 80, 81, 82, 84, 85, 86, 88, 90, 91, 92, 94, 96, 98, 99, 100, 102, 104, 105
OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Prime Partition.
MATHEMATICA
r[n_] := Reduce[2 <= p <= q && n == p + q, {p, q}, Primes]; Select[Range[4, 105], r[#] =!= False && ! PrimeQ[#] & ] (* Jean-François Alcover, Oct 29 2012 *)
PROG
(Haskell)
a051035 n = a051035_list !! (n-1)
a051035_list = filter ((== 0) . a010051) a014091_list
CROSSREFS
Cf. A010051, subsequence of A014092.
Sequence in context: A340268 A340058 A174891 * A046349 A115683 A175526
KEYWORD
nonn
STATUS
approved