OFFSET
1,1
COMMENTS
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..285 (please update, also comments, if more terms are found!)
PROG
(PARI)
isA369251(n) = if(3!=(n%4), 0, my(v = [3, 3], ip = #v, r); while(1, r = (n-(v[1]*v[2])) / (v[1]+v[2]); if(r < v[2], ip--, ip = #v; if(1==denominator(r) && isprime(r), return(1))); if(!ip, return(0)); v[ip] = nextprime(1+v[ip]); for(i=1+ip, #v, v[i]=v[i-1])));
isA369463(n) = ((11==(n%12)) && !isA369251(n));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 23 2024
STATUS
approved