login
A372588
Numbers k > 1 such that (greatest binary index of k) + (greatest prime index of k) is odd.
9
2, 6, 7, 8, 10, 11, 15, 18, 19, 21, 24, 26, 27, 28, 29, 32, 33, 34, 40, 41, 44, 45, 46, 47, 50, 51, 55, 59, 60, 62, 65, 70, 71, 72, 74, 76, 78, 79, 81, 84, 86, 87, 89, 91, 95, 96, 98, 101, 104, 105, 106, 107, 108, 111, 112, 113, 114, 116, 117, 122, 126, 128
OFFSET
1,1
COMMENTS
A binary index of n is any position of a 1 in its reversed binary expansion. The binary indices of n are row n of A048793.
A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.
The even version is A372589.
FORMULA
Numbers k such that A070939(k) + A061395(k) is odd.
EXAMPLE
The terms (center), their binary indices (left), and their weakly decreasing prime indices (right) begin:
{2} 2 (1)
{2,3} 6 (2,1)
{1,2,3} 7 (4)
{4} 8 (1,1,1)
{2,4} 10 (3,1)
{1,2,4} 11 (5)
{1,2,3,4} 15 (3,2)
{2,5} 18 (2,2,1)
{1,2,5} 19 (8)
{1,3,5} 21 (4,2)
{4,5} 24 (2,1,1,1)
{2,4,5} 26 (6,1)
{1,2,4,5} 27 (2,2,2)
{3,4,5} 28 (4,1,1)
{1,3,4,5} 29 (10)
{6} 32 (1,1,1,1,1)
{1,6} 33 (5,2)
{2,6} 34 (7,1)
{4,6} 40 (3,1,1,1)
{1,4,6} 41 (13)
{3,4,6} 44 (5,1,1)
{1,3,4,6} 45 (3,2,2)
MATHEMATICA
Select[Range[2, 100], OddQ[IntegerLength[#, 2]+PrimePi[FactorInteger[#][[-1, 1]]]]&]
CROSSREFS
For sum (A372428, zeros A372427) we have A372586.
For minimum (A372437) we have A372439, complement A372440.
For length (A372441, zeros A071814) we have A372590, complement A372591.
Positions of odd terms in A372442, zeros A372436.
The complement is A372589.
For just binary indices:
- length: A000069, complement A001969
- sum: A158705, complement A158704
- minimum: A003159, complement A036554
- maximum: A053738, complement A053754
For just prime indices:
- length: A026424 (count A027193), complement A028260 (count A027187)
- sum: A300063 (count A058695), complement A300061 (count A058696)
- minimum: A340932 (count A026804), complement A340933 (count A026805)
- maximum: A244991 (count A027193), complement A244990 (count A027187)
A005408 lists odd numbers.
A019565 gives Heinz number of binary indices, adjoint A048675.
A029837 gives greatest binary index, least A001511.
A031368 lists odd-indexed primes, even A031215.
A048793 lists binary indices, length A000120, reverse A272020, sum A029931.
A061395 gives greatest prime index, least A055396.
A070939 gives length of binary expansion.
A112798 lists prime indices, length A001222, reverse A296150, sum A056239.
Sequence in context: A037310 A287791 A366256 * A028774 A355160 A343719
KEYWORD
nonn
AUTHOR
Gus Wiseman, May 14 2024
STATUS
approved