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.

Showing 1-2 of 2 results.

A028983 Numbers whose sum of divisors is even.

Original entry on oeis.org

3, 5, 6, 7, 10, 11, 12, 13, 14, 15, 17, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 33, 34, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 65, 66, 67, 68, 69, 70, 71, 73, 74, 75, 76, 77, 78, 79, 80, 82
Offset: 1

Views

Author

Keywords

Comments

The even terms of this sequence are the even terms appearing in A178910. [Edited by M. F. Hasler, Oct 02 2014]
A071324(a(n)) is even. - Reinhard Zumkeller, Jul 03 2008
Sigma(a(n)) = A000203(a(n)) = A152678(n). - Jaroslav Krizek, Oct 06 2009
A083207 is a subsequence. - Reinhard Zumkeller, Jul 19 2010
Numbers k such that the number of odd divisors of k (A001227) is even. - Omar E. Pol, Apr 04 2016
Numbers k such that the sum of odd divisors of k (A000593) is even. - Omar E. Pol, Jul 05 2016
Numbers with a squarefree part greater than 2. - Peter Munn, Apr 26 2020
Equivalently, numbers whose odd part is nonsquare. Compare with the numbers whose square part is even (i.e., nonodd): these are the positive multiples of 4, A008586\{0}, and A225546 provides a self-inverse bijection between the two sets. - Peter Munn, Jul 19 2020
Also numbers whose reversed prime indices have alternating product > 1, where we define the alternating product of a sequence (y_1,...,y_k) to be Product_i y_i^((-1)^(i-1)). Also Heinz numbers of the partitions counted by A347448. - Gus Wiseman, Oct 29 2021
Numbers whose number of middle divisors is not odd (cf. A067742). - Omar E. Pol, Aug 02 2022

Crossrefs

The complement is A028982 = A000290 U A001105.
Subsequences: A083207, A091067, A145204\{0}, A225838, A225858.
Cf. A334748 (a permutation).
Related to A008586 via A225546.
Ranks the partitions counted by A347448, complement A119620.

Programs

  • Mathematica
    Select[Range[82],EvenQ[DivisorSigma[1,#]]&] (* Jayanta Basu, Jun 05 2013 *)
  • PARI
    is(n)=!issquare(n)&&!issquare(n/2) \\ Charles R Greathouse IV, Jan 11 2013
    
  • Python
    from math import isqrt
    def A028983(n):
        def f(x): return n-1+isqrt(x)+isqrt(x>>1)
        kmin, kmax = 1,2
        while f(kmax) >= kmax:
            kmax <<= 1
        while True:
            kmid = kmax+kmin>>1
            if f(kmid) < kmid:
                kmax = kmid
            else:
                kmin = kmid
            if kmax-kmin <= 1:
                break
        return kmax # Chai Wah Wu, Aug 22 2024

Formula

a(n) ~ n. - Charles R Greathouse IV, Jan 11 2013
a(n) = n + (1 + sqrt(2)/2)*sqrt(n) + O(1). - Charles R Greathouse IV, Sep 01 2015
A007913(a(n)) > 2. - Peter Munn, May 05 2020

A225857 Numbers of the form 2^i*3^j*(12k+1) or 2^i*3^j*(12k+5), i, j, k >= 0.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 13, 15, 16, 17, 18, 20, 24, 25, 26, 27, 29, 30, 32, 34, 36, 37, 39, 40, 41, 45, 48, 49, 50, 51, 52, 53, 54, 58, 60, 61, 64, 65, 68, 72, 73, 74, 75, 77, 78, 80, 81, 82, 85, 87, 89, 90, 96, 97, 98, 100, 101, 102, 104, 106, 108, 109, 111
Offset: 1

Views

Author

Ralf Stephan, May 18 2013

Keywords

Comments

From Peter Munn, Nov 11 2023: (Start)
Numbers k whose 5-rough part, A065330(k), is congruent to 1 modulo 4.
Contains all nonzero squares.
Positive integers in the multiplicative subgroup of rationals generated by 2, 3, 5 and integers congruent to 1 modulo 12. Thus, the sequence is closed under multiplication and, provided the result is an integer, under division.
This subgroup has index 2 and does not include -1, so is the complement of its negation. In respect of the sequence, the index 2 property implies we can take any absent positive integer m, and divide by m all terms that are multiples of m to get the complementary sequence, A225858.
Likewise, the sequence forms a subgroup of index 2 of the positive integers under the operation A059897(.,.).
(End)
The asymptotic density of this sequence is 1/2. - Amiram Eldar, Nov 14 2023

Crossrefs

Complement of A225858.

Programs

  • Magma
    [n: n in [1..200] | d mod 4 eq 1 where d is n div (2^Valuation(n,2)*3^Valuation(n,3))]; // Bruno Berselli, May 16 2013
    
  • Mathematica
    Select[Range[120], Mod[#/Times @@ ({2, 3}^IntegerExponent[#, {2, 3}]), 4] == 1 &] (* Amiram Eldar, Nov 14 2023 *)
  • PARI
    for(n=1,200,t=n/(2^valuation(n,2)*3^valuation(n,3));if((t%4==1),print1(n,",")))
    
  • Python
    from itertools import count
    from sympy import integer_log
    def A225857(n):
        def f(x):
            c = n
            for i in range(integer_log(x,3)[0]+1):
                i2 = 3**i
                for j in count(0):
                    k = i2<x:
                        break
                    m = x//k
                    c += (m-7)//12+(m-11)//12+2
            return c
        m, k = n, f(n)
        while m != k: m, k = k, f(k)
        return m # Chai Wah Wu, Feb 24 2025

Extensions

Name clarified by Peter Munn, Nov 10 2023
Showing 1-2 of 2 results.