OFFSET
1,1
COMMENTS
Apparently, a number that is the predecessor or successor of a prime number does not have a sum as defined here, except for a finite number of primes, which may be {7, 11, 13, 37}. - Peter Luschny, Feb 16 2024
LINKS
EXAMPLE
5 = 2+3; 7 = 2+5; 8 = 3+5; 9 = 2+7; 10 = 3+7 (10 = 5+5 is not considered).
MAPLE
select(n -> A117929(n) = 1, [seq(1..265)]); # Peter Luschny, Feb 16 2024
PROG
(Python)
from sympy import sieve
from collections import Counter
from itertools import combinations
def aupton(max):
sieve.extend(max)
a = Counter(c[0]+c[1] for c in combinations(sieve._list, 2))
return [n for n in range(1, max+1) if a[n] == 1]
print(aupton(265)) # Michael S. Branicky, Feb 16 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Feb 11 2024
STATUS
approved