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!)
A280892 Squareful numbers with both neighbors squarefree. 2
4, 12, 16, 18, 20, 32, 36, 40, 52, 54, 56, 60, 68, 72, 84, 88, 90, 92, 96, 104, 108, 112, 128, 132, 140, 144, 150, 156, 160, 162, 164, 180, 184, 192, 196, 198, 200, 204, 212, 216, 220, 228, 232, 234, 236, 240, 248, 250, 252, 256, 264, 268, 270, 272, 284, 292, 294, 300, 304, 306, 308, 312 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Subsequence of A013929 and A067874.

LINKS

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

EXAMPLE

4 is in this sequence because 4 = 2^2 is nonsquarefree and both 4 - 1 = 3 and 4 + 1 = 5 are squarefree.

PROG

(MAGMA) [n: n in [2..300] | not IsSquarefree(n) and IsSquarefree(n-1) and IsSquarefree(n+1)];

(PARI) isok(n) = !issquarefree(n) && issquarefree(n-1) && issquarefree(n+1); \\ Michel Marcus, Jun 18 2017

CROSSREFS

Cf. A013929, A067874, A228649, A272799, A281192.

Sequence in context: A137257 A144976 A119622 * A328840 A255411 A067575

Adjacent sequences:  A280889 A280890 A280891 * A280893 A280894 A280895

KEYWORD

nonn,easy

AUTHOR

Juri-Stepan Gerasimov, Jan 16 2017

EXTENSIONS

Definition corrected by Jon E. Schoenfield, Jun 18 2017

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 July 5 00:40 EDT 2020. Contains 335457 sequences. (Running on oeis4.)