OFFSET
1,1
EXAMPLE
2.2569474585265979554627367244423422105592365088936959533....
PROG
(Sage)
def A030450(n) :
return prod((n-i+1)^(2^i) for i in (1..n))
N(sum(1/A030450(n) for n in (0..9)), digits=106)
(C)
#include <stdio.h>
#include <mpfr.h>
#define dBIT 512
#define dLIST n, t, u
int main (void) {
mpfr_t dLIST;
mpfr_rnd_t trnd;
unsigned int i;
trnd = MPFR_RNDU;
mpfr_inits2 (dBIT, dLIST, (mpfr_ptr) 0);
mpfr_set_d (n, 1.0, trnd);
mpfr_set_d (t, 1.0, trnd);
for (i = 1; i <= 9; i++) {
mpfr_mul_ui (t, t, i, trnd);
mpfr_mul (t, t, t, trnd);
mpfr_set_d (u, 1.0, trnd);
mpfr_div (u, u, t, trnd);
mpfr_add (n, n, u, trnd);
}
mpfr_printf ("%.106Rg", n);
mpfr_clears (dLIST, (mpfr_ptr) 0);
return 0;
}
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Jani Melik, Jun 06 2015
STATUS
approved