OFFSET
2,1
COMMENTS
We start at n=2 as the Goldbach Conjecture is for even integers starting from 4. There is no upper bound for a(n).
FORMULA
EXAMPLE
a(2) = 2 because we have two integers in the chain starting 2*2 = 4, since there is 1 unique way to partition 4 into two primes (4=2+2), so f(4) = 4-1 = 3, which is a halting state, f(3)=3, since 3 is odd and not the sum of two primes. The chain is (4,3).
a(3) = 2, the chain being (6,5) since 6 is uniquely 3+3.
a(5) = 3 because 2*5 = 10 = 3+7 = 5+5 (two ways), 10-2 = 8, then 8 is uniquely 3+5 so the chain is (10,f(10),f(f(10))) = (10,8,7) which is of length 3.
a(10) = 6, the chain being (20,18,16,14,12,11).
a(23) = 7, the chain being (46,42,38,36,32,30,27).
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Apr 03 2006
EXTENSIONS
More terms from Giovanni Resta, Jun 15 2016
STATUS
approved