login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A030140 The nonsquares squared. 2
4, 9, 25, 36, 49, 64, 100, 121, 144, 169, 196, 225, 289, 324, 361, 400, 441, 484, 529, 576, 676, 729, 784, 841, 900, 961, 1024, 1089, 1156, 1225, 1369, 1444, 1521, 1600, 1681, 1764, 1849, 1936, 2025, 2116, 2209, 2304, 2500, 2601, 2704, 2809, 2916, 3025 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The complement of the fourth powers A000583 within the squares A000290. - Peter Munn, Aug 20 2019

LINKS

Table of n, a(n) for n=1..48.

FORMULA

a(n) = A000037(n)^2.

EXAMPLE

a(1)=2^2, a(2)=3^2, a(3)=5^2, a(4)=6^2, a(5)=7^2, ..., a(n)=(integer which is not a perfect square)^2.

MAPLE

a:=proc(n) if type(sqrt(n), integer)=false then n^2 else fi end: seq(a(n), n=1..70); # Emeric Deutsch, Apr 11 2007

MATHEMATICA

a[n_] := (n + Floor[1/2 + Sqrt[n]])^2;

Array[a, 50] (* Jean-Fran├žois Alcover, Apr 05 2020 *)

PROG

(MAGMA) [(n + Floor(1/2 + Sqrt(n)))^2: n in [1..60]]; // Vincenzo Librandi, Apr 06 2020

CROSSREFS

Cf. A000037, A000290, A000583.

Sequence in context: A175085 A182120 A099998 * A325240 A153158 A111245

Adjacent sequences:  A030137 A030138 A030139 * A030141 A030142 A030143

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane

EXTENSIONS

Edited by N. J. A. Sloane, Jul 02 2008 at the suggestion of R. J. Mathar

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 19 18:54 EDT 2020. Contains 337892 sequences. (Running on oeis4.)