login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A351121 Numbers k such that k^2 - k + 1 is not squarefree. 1
19, 23, 31, 68, 69, 80, 117, 129, 147, 166, 178, 192, 215, 227, 264, 276, 293, 313, 314, 316, 325, 361, 362, 374, 411, 423, 424, 430, 440, 460, 472, 485, 500, 509, 521, 522, 530, 558, 570, 582, 607, 619, 654, 656, 668, 699, 700, 705, 711, 717, 754, 766, 788, 791, 803, 815, 823, 852, 864, 868, 901 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Numbers k such that, for some prime p == 1 (mod 6), 2*k-1 is a square root of -3 (mod p^2).
LINKS
EXAMPLE
a(3) = 31 is a term because 31^2 - 31 + 1 = 931 is divisible by 7^2.
MAPLE
remove(t -> numtheory:-issqrfree(t^2-t+1), [$1..1000]);
MATHEMATICA
Select[Range[1000], ! SquareFreeQ[#^2 - # + 1] &] (* Amiram Eldar, Feb 02 2022 *)
PROG
(PARI) isok(k) = !issquarefree(k^2 - k + 1); \\ Michel Marcus, Feb 02 2022
CROSSREFS
Sequence in context: A261311 A168144 A108271 * A245585 A343741 A060269
KEYWORD
nonn
AUTHOR
Robert Israel, Feb 01 2022
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 20 00:58 EDT 2024. Contains 371798 sequences. (Running on oeis4.)