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 A261619 #47 Sep 08 2022 08:46:13 %S A261619 1,2,4,7,8,11,13,16,18,18,21,22,24,27,30,30,31,35,36,38,42,43,45,47, %T A261619 47,50,53,56,59,61,59,62,63,67,66,70,72,73,76,78,80,83,83,86,89,92,92, %U A261619 91,94,97,100,101,105,105,107,109,111,115,117,119 %N A261619 a(n) = floor(prime(n^2) / prime(n)). %C A261619 Inspired by A213926. %C A261619 The reason of "/" operation between prime(n^2) and prime(n) is n^2 / n = n. %C A261619 Sequence is not monotone: 61 = a(30) > a(31) = 59. In the first thousand terms there are 83 less than the preceding term; in the first ten thousand, 865. - _Charles R Greathouse IV_, Sep 12 2015 %H A261619 Charles R Greathouse IV, <a href="/A261619/b261619.txt">Table of n, a(n) for n = 1..10000</a> %F A261619 a(n) = floor(A011757(n) / A000040(n)). %F A261619 a(n) ~ n/(2 log^2 n). - _Charles R Greathouse IV_, Sep 12 2015 %e A261619 For n=2, a(n) = floor(prime(n^2) / prime(n)) = floor(7/3) = 2. %t A261619 Table[Floor[Prime[n^2] / Prime[n]], {n, 1, 100}] (* _Vincenzo Librandi_, May 24 2019 *) %o A261619 (PARI) a(n) = floor(prime(n^2) / prime(n)); %o A261619 vector(70, n, a(n)) %o A261619 (PARI) first(n)=my(v=List(),p,k); forprime(q=2,, if(issquare(k++), p=nextprime(p+1); listput(v, q\p); if(#v==n, return(Vec(v))))) \\ _Charles R Greathouse IV_, Sep 12 2015 %o A261619 (Magma) [NthPrime(n^2) div NthPrime(n): n in [1..70]]; // _Vincenzo Librandi_, May 24 2019 %o A261619 (Sage) [floor(nth_prime(n^2)/nth_prime(n)) for n in (1..70)] # _G. C. Greubel_, May 24 2019 %Y A261619 Cf. A000040, A011757, A213926. %K A261619 nonn %O A261619 1,2 %A A261619 _Altug Alkan_, Sep 09 2015