The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A267894 Numbers whose number of odd divisors is nonprime. 2
1, 2, 4, 8, 15, 16, 21, 27, 30, 32, 33, 35, 39, 42, 45, 51, 54, 55, 57, 60, 63, 64, 65, 66, 69, 70, 75, 77, 78, 84, 85, 87, 90, 91, 93, 95, 99, 102, 105, 108, 110, 111, 114, 115, 117, 119, 120, 123, 125, 126, 128, 129, 130, 132, 133, 135, 138, 140, 141, 143, 145, 147, 150 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
The divisors of 42 are 1, 2, 3, 6, 7, 14, 21, 42. The odd divisors of 42 are 1, 3, 7, 21. There are 4 odd divisors of 42 and 4 is a nonprime number, so 42 is in the sequence.
MATHEMATICA
Select[Range[150], !PrimeQ[DivisorSigma[0, #/2^IntegerExponent[#, 2]]] &] (* Amiram Eldar, Dec 03 2020 *)
PROG
(PARI) isok(n) = ! isprime(sumdiv(n, d, (d%2))); \\ Michel Marcus, Apr 04 2016
CROSSREFS
Sequence in context: A097100 A002954 A019278 * A084345 A084561 A277166
KEYWORD
nonn
AUTHOR
Omar E. Pol, Apr 04 2016
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 May 19 13:25 EDT 2024. Contains 372694 sequences. (Running on oeis4.)