OFFSET
0,3
COMMENTS
a(n) = a(3n)/a(0) = a(3n+1)/a(1) = a(3n+2)/a(2).
Row sums of A117941.
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..19683
FORMULA
PROG
(Scheme)
;; A stand-alone recurrence:
(define (A117942 n) (cond ((zero? n) 1) ((zero? (modulo n 3)) (A117942 (/ n 3))) (else (let ((d (modulo n 3))) (- (* d (A117942 (/ (- n d) 3))))))))
;; An implementation based on a new formula:
;; Antti Karttunen, Jul 26 2017
CROSSREFS
KEYWORD
sign
AUTHOR
Paul Barry, Apr 05 2006
EXTENSIONS
More terms from Antti Karttunen, Jul 26 2017
STATUS
approved