A260005 a(n) = f(2,n,2), where f is the Sudan function defined in A260002.
19, 10228, 15569256417, 5742397643169488579854258, 36681813266165915713665394441869800619098139628586701684547
Offset: 0
Keywords
Examples
a(1) = f(2,1,2) = f(1,f(2,1,1),f(2,1,1)+2) = f(1,8,10) = 2^10*(8+2)-10-2 = 10228.
Links
- Natan Arie' Consigli, Table of n, a(n) for n = 0..6
- Wikipedia, Sudan function (see 3rd line of "Values of F2(x, y)" table).
Programs
-
Magma
[2^(2^(n+1)*(n+2)-(n+1))*(2^(n+1)*(n+2)-(n+1))-2^(n+1)*(n+2)+(n-1):n in [0..5]]; // Vincenzo Librandi, Jul 27 2015
-
Mathematica
Table[2^(2^(n + 1) (n + 2) - (n + 1)) (2^(n + 1) (n + 2) - (n + 1)) - 2^(n + 1) (n + 2) + (n - 1), {n, 0, 5}] (* Vincenzo Librandi, Jul 27 2015 *)
-
PARI
a(n) = 2^(2^(n+1)*(n+2)-(n+1))*(2^(n+1)*(n+2)-(n+1))-2^(n+1)*(n+2)+(n-1); vector(10, n, a(n-1)) \\ Altug Alkan, Oct 01 2015
Formula
a(n) = 2^(2^(n+1)*(n+2)-(n+1))*(2^(n+1)*(n+2)-(n+1))-2^(n+1)*(n+2)+(n-1).
Comments