login
Primes p such that mu(p+1)=-1, where mu denotes the moebius function.
3

%I #17 Aug 26 2020 03:46:19

%S 2,29,41,101,109,113,137,173,181,229,257,281,317,353,373,401,409,433,

%T 601,617,641,653,677,709,761,821,829,853,937,941,977,1009,1021,1033,

%U 1069,1117,1129,1181,1193,1297,1361,1373,1433,1489,1597,1613,1669,1697

%N Primes p such that mu(p+1)=-1, where mu denotes the moebius function.

%C Contains primes followed by primes (i.e., the 2), primes followed by sphenic numbers (A007304), or followed by elements of A046387, A123321, A115343 etc. - _R. J. Mathar_, Aug 14 2019

%C Primes followed by numbers that are the product of an odd number of distinct primes (A030059). - _Joerg Arndt_, Aug 14 2019

%H Amiram Eldar, <a href="/A078329/b078329.txt">Table of n, a(n) for n = 1..10000</a>

%e 29 is in the sequence because 29 is prime and mu(30)=-1.

%t Select[Prime[Range[300]],MoebiusMu[#+1]==-1&] (* _Harvey P. Dale_, Feb 28 2013 *)

%Y Cf. A008683, A030059.

%Y Cf. A007304, A046387, A123321, A115343.

%K easy,nonn

%O 1,1

%A _Shyam Sunder Gupta_, Nov 21 2002