cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A342081 Numbers without an inferior odd divisor > 1.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 13, 14, 16, 17, 19, 20, 22, 23, 26, 28, 29, 31, 32, 34, 37, 38, 41, 43, 44, 46, 47, 52, 53, 58, 59, 61, 62, 64, 67, 68, 71, 73, 74, 76, 79, 82, 83, 86, 88, 89, 92, 94, 97, 101, 103, 104, 106, 107, 109, 113, 116, 118, 122, 124
Offset: 1

Views

Author

Gus Wiseman, Mar 06 2021

Keywords

Comments

We define a divisor d|n to be inferior if d <= n/d. Inferior divisors are counted by A038548 and listed by A161906.
Numbers n such that n is either a power of 2 or has a single odd prime factor > sqrt(n). Equivalently, numbers n such that all odd prime factors are > sqrt(n). - Chai Wah Wu, Mar 08 2021

Examples

			The divisors > 1 of 72 are {2, 3, 4, 6, 8, 9, 12, 18, 24, 36, 72}, of which {3, 9} are odd and {2, 3, 4, 6, 8} are inferior, with intersection {3}, so 72 is not in the sequence.
		

Crossrefs

The strictly inferior version is the same with A001248 added.
Positions of 1's in A069288.
The superior version is A116882, with complement A116883.
The complement is A342082.
A006530 selects the greatest prime factor.
A020639 selects the smallest prime factor.
A038548 counts superior (or inferior) divisors, with strict case A056924.
- Odd -
A000009 counts partitions into odd parts, ranked by A066208.
A001227 counts odd divisors.
A026424 lists numbers with odd Omega.
A027193 counts odd-length partitions.
A058695 counts partitions of odd numbers.
A067659 counts strict partitions of odd length, ranked by A030059.
A340101 counts factorizations into odd factors; A340102 also has odd length.
A340854/A340855 cannot/can be factored with odd minimum factor.
A341594 counts strictly superior odd divisors
A341675 counts superior odd divisors.
- Inferior: A033676, A066839, A161906.
- Strictly Inferior A333805, A341674.
- Strictly Superior: A064052/A048098, A341645/A341646.

Programs

  • Mathematica
    Select[Range[100],Function[n,Select[Divisors[n]//Rest,OddQ[#]&&#<=n/#&]=={}]]
  • PARI
    is(n) = #select(x -> x > 2 && x^2 <= n, factor(n)[, 1]) == 0; \\ Amiram Eldar, Nov 01 2024
  • Python
    from sympy import primefactors
    A342081_list = [n for n in range(1,10**3) if len([p for p in primefactors(n) if p > 2 and p*p <= n]) == 0] # Chai Wah Wu, Mar 08 2021