OFFSET
0,6
COMMENTS
Number of representations of the n-th Euclid number, A002110(n) + 1, as a sum of the form 3*(p+q) + p*q, where p and q are odd primes.
EXAMPLE
a(4) = 1 as there exists a natural number 399 = 3 * 7 * 19, whose arithmetic derivative (indicated with 399', see A003415) is computed as ((3*7) + (3*19) + (7*19)) = 211 = 1 + prime(4)# = A006862(4), and because 399 is the unique term in A046316 that satisfies the condition.
a(17) >= 1 because there exists (at least one) solution k = 4903038892893242229501 = 3 * 17 * 96138017507710631951 with A003415(k) = 1+A002110(17).
For other cases, see examples in A369246.
PROG
(PARI)
\\ Needs also program from A369054.
A002110(n) = prod(i=1, n, prime(i));
(PARI)
\\ Optimized version of above, employs the fact that solutions must all be multiples of 3. Outputs also terms for A369246.
search_for_3k1_cases(n) = if(3!=(n%4), 0, my(p = 5, q, c=0); while(1, q = (n-(3*p)) / (3+p); if(q < p, return(c), if(1==denominator(q) && isprime(q), c++; write("b369246_by_search_order_to.txt", n, " ", 3*p*q))); p = nextprime(1+p)));
A002110(n) = prod(i=1, n, prime(i));
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Antti Karttunen, Jan 22 2024
STATUS
approved