OFFSET
1,3
EXAMPLE
n=10, prime(n)=29: a(10) = Max(Union(Factors(29-prime(i)):i<10)) = Max(Factors(27) u Factors(26) u Factors(24) u Factors(22) u Factors(18) u Factors(16) u Factors(12) u Factors(10) u Factors(6)) = Max({3} u {2,13} u {2,3} u {2,11} u {2,3} u {2} u {2,3} u {2,5} u {2,3}) = Max{2,3,5,11,13} = 13.
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jan 07 2004
STATUS
approved