login
A256486
Difference between n-th Ludic and n-th Lucky number: a(n) = A003309(n) - A000959(n).
7
0, -1, -4, -4, -6, -4, -8, -8, -8, -8, -8, -6, -8, -8, -16, -14, -8, -6, -4, -2, -4, -4, -8, -8, -4, 0, -8, -8, -6, -4, 2, -2, -2, -2, 4, 4, -10, -12, -2, 8, 6, 10, 4, 4, 2, 0, 2, 6, -2, 4, 10, 10, 4, 16, 18, 16, 26, 24, 18, 20, 26, 28, 22, 28, 26, 28, 30, 22, 24, 26, 22, 22, 18, 16, 18, 34, 34, 24, 18, 18, 20, 20
OFFSET
1,3
FORMULA
a(n) = A003309(n) - A000959(n).
PROG
(Scheme) (define (A256486 n) (- (A003309 n) (A000959 n)))
CROSSREFS
KEYWORD
sign
AUTHOR
Antti Karttunen, May 01 2015
STATUS
approved