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”).

A299956
Prime numbers not in A299930.
8
2, 3, 5, 7, 11, 13, 17, 23, 29, 31, 41, 43, 47, 53, 59, 61, 67, 71, 73, 83, 89, 101, 103, 107, 113, 131, 137, 149, 151, 157, 167, 173, 179, 181, 191, 193, 197, 199, 211, 227, 233, 239, 241, 251, 257, 263, 269, 271, 281, 293, 307, 311, 317, 331, 337, 347, 353, 359
OFFSET
1,1
COMMENTS
These prime numbers cannot be represented by a cyclotomic binary form f as p = f(x,y) with x and y odd prime numbers and x > y. Apart from 2 they appear as the leafs of cbf-trees introduced in A299930.
PROG
(Julia)
isA299956(n) = isprime(ZZ(n)) && !isA299930(n)
A299956list(upto) = [n for n in 1:upto if isA299956(n)]
println(A299956list(1000))
KEYWORD
nonn
AUTHOR
Peter Luschny, Feb 25 2018
STATUS
approved