[go: up one dir, main page]

login
A257695
a(0) = 1; for n >= 1, a(n) = lcm(A060130(n), a(A257684(n))).
6
1, 1, 1, 2, 1, 2, 1, 2, 2, 3, 2, 3, 1, 2, 2, 3, 2, 6, 1, 2, 2, 3, 2, 6, 1, 2, 2, 3, 2, 3, 2, 3, 3, 4, 3, 4, 2, 3, 3, 4, 6, 4, 2, 3, 3, 4, 6, 4, 1, 2, 2, 3, 2, 6, 2, 3, 3, 4, 6, 4, 2, 6, 6, 4, 3, 12, 2, 6, 6, 4, 3, 12, 1, 2, 2, 3, 2, 6, 2, 3, 3, 4, 6, 4, 2, 6, 6, 4, 3, 12, 2, 6, 6, 4, 6, 12, 1, 2, 2, 3, 2, 6, 2, 3, 3, 4, 6, 4, 2, 6, 6, 4, 3, 12, 2, 6, 6, 4, 6, 12, 1
OFFSET
0,4
FORMULA
a(0) = 1; for n >= 1, a(n) = lcm(A060130(n), a(A257684(n))).
PROG
(Scheme, with memoizing definec-macro)
(definec (A257695 n) (if (zero? n) 1 (lcm (A060130 n) (A257695 (A257684 n)))))
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 05 2015
STATUS
approved