OFFSET
1,4
COMMENTS
An auxiliary array for computing A088487.
LINKS
FORMULA
EXAMPLE
The first 27 rows of a triangular table:
1
1, 1
3, 1, 1
4, 1, 1, 1
5, 1, 1, 1, 1
30, 1, 1, 1, 1, 1
42, 1, 1, 1, 1, 1, 1
56, 1, 1, 1, 1, 1, 1, 1
504, 9, 1, 1, 1, 1, 1, 1, 1
720, 10, 1, 1, 1, 1, 1, 1, 1, 1
990, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1
11880, 12, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
17160, 13, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
24024, 14, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
360360, 15, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
524160, 16, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
742560, 17, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
13366080, 306, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
19535040, 342, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
27907200, 380, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
586051200, 420, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
859541760, 462, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
1235591280, 506, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
29654190720, 552, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
43609104000, 600, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
62990928000, 650, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
1700755056000, 17550, 27, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
...
(the last ones truncated a bit).
PROG
(PARI) A254864bi(n, k) = prod(i=(1+(n-(n\(3^k)))), n, i);
(Scheme)
;; The above function can then use either one of these:
(define (A254864bi n k) (mul A000027 (+ 1 (- n (floor->exact (/ n (expt 3 k))))) n))
(define (mul intfun lowlim uplim) (let multloop ((i lowlim) (res 1)) (cond ((> i uplim) res) (else (multloop (+ 1 i) (* res (intfun i)))))))
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Antti Karttunen, Feb 09 2015
STATUS
approved