A049092 Primes p such that p-1 is not squarefree.
5, 13, 17, 19, 29, 37, 41, 53, 61, 73, 89, 97, 101, 109, 113, 127, 137, 149, 151, 157, 163, 173, 181, 193, 197, 199, 229, 233, 241, 251, 257, 269, 271, 277, 281, 293, 307, 313, 317, 337, 349, 353, 373, 379, 389, 397, 401, 409, 421, 433, 449, 457, 461, 487
Offset: 1
Keywords
Examples
p = 257 is here because p-1 = 256 = 2^8. p = 997 is here because p-1 = 996 = 3*(2^2)*83.
Links
- T. D. Noe, Table of n, a(n) for n=1..1000
- Eric Weisstein's World of Mathematics, Moebius Function.
Crossrefs
Programs
-
Magma
[ p: p in PrimesUpTo(500) | not IsSquarefree(p-1) ]; // Vincenzo Librandi, Mar 12 2015
-
Mathematica
Select[Prime[Range[400]], MoebiusMu[ #-1]==0&]
-
PARI
forprime(p=2,500,if(!issquarefree(p-1),print(p))) \\ Michael B. Porter, Mar 16 2015
Formula
a(n) = A145199(n) + 1. - Amiram Eldar, Feb 10 2021
Comments