A278741 Odd numbers k such that tau(k-1) is a prime.
3, 5, 17, 65, 1025, 4097, 65537, 262145, 4194305, 268435457, 1073741825, 68719476737, 1099511627777, 4398046511105, 70368744177665, 4503599627370497, 288230376151711745, 1152921504606846977, 73786976294838206465, 1180591620717411303425, 4722366482869645213697
Offset: 1
Keywords
Examples
Odd number 65 is in the sequence because tau(64) = 7 (prime).
Programs
-
Magma
[n: n in[2..10000000] | IsOdd(n) and IsPrime(NumberOfDivisors(n-1))];
-
PARI
isok(n) = (n % 2) && isprime(numdiv(n-1)); \\ Michel Marcus, Nov 27 2016
Comments