uint64_t b(uint64_t n){ uint64_t c = 1; for(uint64_t i = 0; i <= n - 3; ++i){ c += reb(n - i)*(i + 1); } return c; }
uint64_t reb(uint64_t n){ if(_reb[n]){ return _reb[n]; } uint64_t c = 1; for(uint64_t i = 3; i < n - 3; ++i){ c += reb(i)*(n - 3 - i); } return _reb[n] = c; }
t_tet *ret(t_fill *res, t_tet *cpy, int k) { if (k == -1) { if (cpy->prev != NULL) { cpy = cpy->prev; erasetet(cpy, res); } } else { cpy = cpy->next; reb(res); } return (cpy); }