OFFSET
1,1
COMMENTS
For n smaller than 100, a(n) can be approximated by exp(0.0075*n^2 + 3.0857*n - 0.166).
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
EXAMPLE
For n = 4, a(4) = 4^9 + 6^8 + 8^6 + 9^4 = 2210465.
MATHEMATICA
Composite[n_Integer] := FixedPoint[n + PrimePi[#] + 1&, n]; Table[Sum[Composite[j]^Composite[i+1-j], {j, i}], {i, 10}]
PROG
(PARI) iscomposite(n) = if (n==1, 0, !isprime(n));
a(n) = {vc = []; ic = 1; while (#vc != n, if (iscomposite(ic), vc = concat(vc, ic)); ic++); sum(i=1, n, vc[i]^vc[n+1-i]); } \\ Michel Marcus, Aug 06 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Josh Kirklin, Sep 28 2011
STATUS
approved