This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A065482 #26 Apr 23 2025 10:44:37 %S A065482 2,2,3,4,6,11,18,32,57,102,186,341,630,1170,2185,4096,7710,14564, %T A065482 27594,52429,99864,190650,364722,699051,1342177,2581110,4971027, %U A065482 9586981,18512790,35791394,69273666,134217728,260301048,505290270,981706811,1908874354,3714566310 %N A065482 a(n) = round( 2^n/n ). %H A065482 Harry J. Smith, <a href="/A065482/b065482.txt">Table of n, a(n) for n = 1..300</a> %F A065482 a(n) = A082894(n)/n. %F A065482 a(n) = floor((2^n + floor(n/2))/n). %t A065482 Table[Floor[(Floor[n/2]+2^n)/n], {n, 1, 100}] %o A065482 (PARI) a(n) = { round(2^n/n) } \\ _Harry J. Smith_, Oct 20 2009 %o A065482 (Magma) [Round(2^n/n): n in [1..30]]; // _G. C. Greubel_, Jan 18 2018 %o A065482 (Python) %o A065482 def A065482(n): return ((1<<n)|(n>>1))//n # _Chai Wah Wu_, Apr 23 2025 %Y A065482 Cf. A000799, A053638, A082893-A082900. %K A065482 nonn %O A065482 1,1 %A A065482 _N. J. A. Sloane_, Dec 03 2001