Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A286593
Compound filter (the length of rightmost run of 1's in base-2 & deficiency/abundance): a(n) = P(A089309(n), A286449(n)), where P(n,k) is sequence A000027 used as a pairing function.
3
1, 1, 5, 1, 4, 12, 24, 1, 16, 2, 30, 38, 37, 13, 32, 1, 46, 56, 80, 79, 22, 107, 139, 138, 137, 22, 173, 18, 172, 175, 281, 1, 67, 154, 122, 211, 232, 57, 139, 254, 277, 121, 327, 8, 37, 381, 439, 408, 407, 436, 212, 11, 466, 138, 564, 598, 562, 596, 668, 784, 704, 258, 196, 1, 352, 121, 782, 22, 301, 38, 864, 821, 862, 562, 632, 47, 631, 156, 1039, 947, 407
OFFSET
1,3
LINKS
Eric Weisstein's World of Mathematics, Pairing Function
FORMULA
a(n) = (1/2)*(2 + ((A089309(n)+A286449(n))^2) - A089309(n) - 3*A286449(n)).
PROG
(Scheme) (define (A286593 n) (* (/ 1 2) (+ (expt (+ (A089309 n) (A286449 n)) 2) (- (A089309 n)) (- (* 3 (A286449 n))) 2)))
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 21 2017
STATUS
approved