login
A246701
First differences of A246520.
2
3, 7, 10, 16, 9, 27, 32, 32, 17, 17, 38, 64, 64, 64, 64, 64, 33, 33, 33, 33, 33, 107, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 150, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 129, 129
OFFSET
0,1
COMMENTS
a(n) = A246520(n+1) - A246520(n).
LINKS
PROG
(Haskell)
a246701 n = a246701_list !! n
a246701_list = zipWith (-) (tail a246520_list) a246520_list
(Python)
def A246701(n):
....return(max(int(bin(n+1-k)[2:]+bin(n+1+k)[2:], 2) for k in range(n+2)) -max(int(bin(n-k)[2:]+bin(n+k)[2:], 2) for k in range(n+1)))
# Chai Wah Wu, Sep 07 2014
CROSSREFS
Sequence in context: A281642 A353427 A121016 * A151733 A088636 A114113
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Sep 04 2014
STATUS
approved