OFFSET
1,1
FORMULA
a(n+1) = min { k in N | k^(n+1) - a(n)^n is a prime not in { a(k+1)^(k+1)-a(k)^k; k<n }}. - M. F. Hasler, Apr 07 2009
a(n+1) = min { k in N | k^(n+1) - a(n)^n is a prime not in { a(k+1)^(k+1)-a(k)^k; k<n } }. - M. F. Hasler, Apr 07 2009
MATHEMATICA
(* After computing a[]=A073698 using the code given there *) s = 0; For[n = 1, n <= 50, n++, s += a[n]; Print[s^(1/n)]] (* Ryan Propper, Jul 21 2006 *)
PROG
(PARI) P=[]; s=0; for(n=1, 999, t=floor(sqrtn(s, n)); until( isprime(t++^n-s) & n==#P=setunion(P, Set(t^n-s)), ); print1(t, ", "); s=t^n) \\ M. F. Hasler, Apr 07 2009
(PARI) P=[]; s=0; for(n=1, 999, t=floor(sqrtn(s, n)); until( isprime(t++^n-s) & n==#P=setunion(P, Set(t^n-s)), ); print1(t, ", "); s=t^n) \\ M. F. Hasler, Apr 07 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Apr 25 2004
EXTENSIONS
More terms from Ryan Propper, Jul 21 2006
Edited by M. F. Hasler, Apr 07 2009
STATUS
approved