OFFSET
1,1
COMMENTS
Proposed by G. L. Honaker, Jr.
Essentially a greedy inverse of A061357: a(n)/2 is the index of the first appearance of n in A061357. - R. J. Mathar, Jul 10 2026
LINKS
R. J. Mathar, Table of n, a(n) for n = 1..382
FORMULA
a(n) >= A087747(n). - R. J. Mathar, Jul 10 2026
EXAMPLE
16 is the sum of distinct primes in exactly 2 ways (3 + 13 and 5 + 11), and is the smallest such number, so a(2) = 16.
MAPLE
A055065 := proc(n)
local a, p, q, N, i ;
for a from 2 by 2 do
N := 0 ;
for i from 1 do
p := ithprime(i) ;
q := a-p ;
if q < p then
break ;
end if;
if isprime(q) and p <> q then
N := N+1 ;
end if;
end do:
if N = n then
return a ;
end if;
end do:
end proc:
seq(A055065(n), n=1..60) ; # R. J. Mathar, Jul 10 2026
CROSSREFS
KEYWORD
nonn
AUTHOR
Jud McCranie, Jun 12 2000
STATUS
approved
