login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A160145 a(n) = the odd number 2n+1 minus the numerator of (2n+1)/(2^(2n+1)-1). 4
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 144, 0, 0, 0, 150 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,11
COMMENTS
Explains the similarity of the sequences A009843 and A160143. (Cf. also the pair A036279 and A156769.) The first nonzero values occur at n = 10, 31, 52 and 73.
Previous name was: Odd numbers 2n+1 minus the numerators of (2n+1)/(4^(2n+1)-2^(2n+1)), (A005408 - A160144). - Altug Alkan, Apr 21 2018
LINKS
FORMULA
a(n) = A005408(n) - A160144(n).
MAPLE
seq((2*n+1)-numer((2*n+1)/(4^(2*n+1)-2^(2*n+1))), n=0..77);
seq((2*n+1)-numer((2*n+1)/(2^(2*n+1)-1)), n=0..100); # Altug Alkan, Apr 21 2018
MATHEMATICA
Array[# - Numerator[#/(2^# - 1)] &[2 # + 1] &, 78, 0] (* Michael De Vlieger, Apr 21 2018 *)
PROG
(PARI) forstep(k=1, 1e2, 2, print1(k - numerator(k/(2^k-1)), ", ")); \\ Altug Alkan, Apr 21 2018
CROSSREFS
Sequence in context: A246649 A210709 A187567 * A072839 A156400 A008424
KEYWORD
nonn
AUTHOR
Peter Luschny, May 03 2009
EXTENSIONS
Name simplified by Altug Alkan, Apr 21 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 06:45 EDT 2024. Contains 371906 sequences. (Running on oeis4.)