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.

A062312 Nonprime numbers squared.

This page as a plain text file.
%I A062312 #24 Oct 14 2020 10:15:24
%S A062312 1,16,36,64,81,100,144,196,225,256,324,400,441,484,576,625,676,729,
%T A062312 784,900,1024,1089,1156,1225,1296,1444,1521,1600,1764,1936,2025,2116,
%U A062312 2304,2401,2500,2601,2704,2916,3025,3136,3249,3364,3600,3844,3969,4096,4225
%N A062312 Nonprime numbers squared.
%H A062312 Harry J. Smith, <a href="/A062312/b062312.txt">Table of n, a(n) for n = 1..1000</a>
%F A062312 a(n) = A018252(n)^2. - _Omar E. Pol_, Oct 30 2007
%F A062312 Sum_{n>=1} 1/a(n) = A275647. - _Amiram Eldar_, Oct 14 2020
%t A062312 Select[Range[100],!PrimeQ[#]&]^2 (* _Harvey P. Dale_, Jan 27 2016 *)
%o A062312 (PARI) for(n=1,30, if(isprime(n), n+1,print(n^2)))
%o A062312 (PARI) n=0; for (m=1, 2000, if (!isprime(m), write("b062312.txt", n++, " ", m^2); if (n==1000, break))) \\ _Harry J. Smith_, Aug 04 2009
%o A062312 (PARI) is(n)=issquare(n,&n) && !isprime(n) \\ _Charles R Greathouse IV_, Sep 18 2015
%Y A062312 Cf. A002808, A018252, A275647.
%K A062312 easy,nonn
%O A062312 1,2
%A A062312 _Jason Earls_, Jul 05 2001
%E A062312 More terms from Larry Reeves (larryr(AT)acm.org), Jul 05 2001