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.

A079705 3p^2 where p runs through the primes.

This page as a plain text file.
%I A079705 #21 Sep 08 2022 08:45:08
%S A079705 12,27,75,147,363,507,867,1083,1587,2523,2883,4107,5043,5547,6627,
%T A079705 8427,10443,11163,13467,15123,15987,18723,20667,23763,28227,30603,
%U A079705 31827,34347,35643,38307,48387,51483,56307,57963,66603,68403,73947,79707,83667,89787,96123
%N A079705 3p^2 where p runs through the primes.
%H A079705 Vincenzo Librandi, <a href="/A079705/b079705.txt">Table of n, a(n) for n = 1..1000</a>
%F A079705 a(n) = 3*A001248(n) = A003415(A030078(n)). - _Reinhard Zumkeller_, Jun 26 2011
%e A079705 For n = 2, 3*prime(2)^2 = 3*3^2 = 27.
%t A079705 3 #^2 & /@ Prime[Range[40]]
%t A079705 3 Prime[Range[30]]^2 (* _Vincenzo Librandi_, Mar 27 2014 *)
%o A079705 (PARI) forprime (p=2,100,print1(p^2*3, ", "))
%o A079705 (PARI) a(n) = 3*prime(n)^2; \\ _Michel Marcus_, Dec 27 2021
%o A079705 (Magma) [3*p^2: p in PrimesUpTo(200)]; // _Vincenzo Librandi_, Mar 27 2014
%o A079705 (Python)
%o A079705 from sympy import primerange
%o A079705 print([3*p**2 for p in primerange(1, 180)]) # _Michael S. Branicky_, Dec 27 2021
%K A079705 easy,nonn
%O A079705 1,1
%A A079705 _Jon Perry_, Jan 31 2003
%E A079705 More terms from _Harvey P. Dale_, Feb 13 2003
%E A079705 Offset corrected by _Vincenzo Librandi_, Mar 27 2014