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 A074717 #12 Aug 31 2020 02:40:25 %S A074717 1,2,3,3,6,9,11,11,7,9,5,10,19,11,5,10,9,11,22,35,39,9,5,10,20,27,11, %T A074717 19,9,18,36,25,29,27,5,10,20,40,61,13,21,42,29,27,39,9,17,29,58,49,27, %U A074717 25,50,11,22,44,39,11,22,44,29,58,116,53,19,38,76,152,237,139,5,10,20 %N A074717 Least k such that floor(2^n/k) is prime. %H A074717 Amiram Eldar, <a href="/A074717/b074717.txt">Table of n, a(n) for n = 1..10000</a> %F A074717 There is probably a constant c such that Sum_{i=1..n} a(i) is asymptotic to c*n^2 (0 < c < 1/2). %t A074717 a[n_] := Module[{k = 1}, While[! PrimeQ @ Floor[2^n/k], k++]; k]; Array[a, 100] (* _Amiram Eldar_, Aug 31 2020 *) %o A074717 (PARI) a(n)=if(n<0,0,k=1; while(isprime(floor(2^n/k)) == 0,k++); k) %Y A074717 Cf. A013597, A013603, A035050, A085427. %K A074717 easy,nonn %O A074717 1,2 %A A074717 _Benoit Cloitre_, Sep 04 2002