cp's OEIS Frontend

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.

A065730 Largest square <= n-th prime.

This page as a plain text file.
%I A065730 #28 Dec 28 2024 11:12:40
%S A065730 1,1,4,4,9,9,16,16,16,25,25,36,36,36,36,49,49,49,64,64,64,64,81,81,81,
%T A065730 100,100,100,100,100,121,121,121,121,144,144,144,144,144,169,169,169,
%U A065730 169,169,196,196,196,196,225,225,225,225,225,225,256,256,256,256,256
%N A065730 Largest square <= n-th prime.
%C A065730 For n > 2: a(n) = A257053(n,0). - _Reinhard Zumkeller_, Apr 15 2015
%H A065730 Harry J. Smith, <a href="/A065730/b065730.txt">Table of n, a(n) for n=1..1000</a>
%F A065730 a(n) = A048760(A000040(n)).
%t A065730 Table[Floor[Sqrt@ Prime@ n]^2, {n, 60}] (* _Michael De Vlieger_, Jul 03 2016 *)
%o A065730 (PARI) a(n) = { sqrtint(prime(n))^2 } \\ _Harry J. Smith_, Oct 28 2009
%o A065730 (Haskell)
%o A065730 a065730 = a048760 . a000040  -- _Reinhard Zumkeller_, Apr 15 2015
%o A065730 (Magma) [Floor(Sqrt(NthPrime(n)))^2: n in [1..70]]; // _Vincenzo Librandi_, Jan 05 2018
%Y A065730 Cf. A048760, A000040, A065731-A065741.
%Y A065730 Cf. A257053.
%K A065730 easy,nonn
%O A065730 1,3
%A A065730 _Labos Elemer_, Nov 15 2001