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.

Previous Showing 11-12 of 12 results.

A347603 Numbers k such that tau(k) = 2*tau(k-1) and sigma(k) = sigma(k-1), where tau(k) and sigma(k) are respectively the number and sum functions of the divisors of k.

Original entry on oeis.org

4365, 74919, 79827, 111507, 347739, 445875, 739557, 2168907, 4481986, 7263945, 7845387, 9309465, 10838247, 12290055, 12673095, 18151479, 22083215, 25645707, 39175955, 62634519, 69076995, 72794967, 80889207, 81166839, 87215967, 94682133, 107522943, 110768835, 119192283
Offset: 1

Views

Author

Claude H. R. Dequatre, Sep 08 2021

Keywords

Comments

Conjecture: the asymptotic density of terms is equal to 0 and this sequence is infinite.

Examples

			a(1) = 4365 because the divisors of 4365 are: 1, 3, 5, 9, 15, 45, 97, 291, 485, 873, 1455, 4365; so, tau(4365) = 12 and sigma(4365) = 7644. The divisors of 4364 are: 1, 2, 4, 1091, 2182, 4364; so, tau(4364) = 6 and sigma(4364) = 7644. Thus tau(4365) = 2*tau(4364), sigma(4365) = sigma(4364) and so 4365 is a term.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[2, 10^6], DivisorSigma[0, #] == 2*DivisorSigma[0, # - 1] && DivisorSigma[1, #] == DivisorSigma[1, # - 1] &] (* Amiram Eldar, Sep 08 2021 *)
  • PARI
    for(k=2,100000000,if(numdiv(k)==2*numdiv(k-1) && sigma(k)==sigma(k-1),print1(k", ")))
    
  • Python
    from sympy import divisor_count as tau, divisor_sigma as sigma
    print([k for k in range(2, 10**6) if tau(k) == 2*tau(k-1) and sigma(k) == sigma(k-1)]) # Karl-Heinz Hofmann, Jan 15 2022

A338455 Starts of runs of 5 consecutive numbers with the same total binary weight of their divisors (A093653).

Original entry on oeis.org

1307029927, 2116078861, 2665774183, 2809370965, 4108623302, 4493733751, 5333670902, 5497285284, 5679049670, 8209799382, 9665369455, 9708528486, 10353426151, 10606564910, 12777118615, 12795699493, 13660293367, 13847206214, 14351020663, 15735895813, 17912257013
Offset: 1

Views

Author

Amiram Eldar, Oct 28 2020

Keywords

Comments

Numbers k such that A093653(k) = A093653(k+1) = A093653(k+2) = A093653(k+3) = A093653(k+4).
Can 6 consecutive numbers have the same total binary weight of their divisors? If they exist, then they are larger than 10^11.

Examples

			1307029927 is a term since A093653(1307029927) = A093653(1307029928) = A093653(1307029929) = A093653(1307029930) = A093653(1307029931) = 72.
		

Crossrefs

Cf. A093653.
Subsequence of A338452, A338453 and A338454.
Similar sequences: A045933, A045941, A049051.

Programs

  • Mathematica
    f[n_] := DivisorSum[n, DigitCount[#, 2, 1] &]; s = {}; m = 5; fs = f /@ Range[m]; Do[If[Equal @@  fs, AppendTo[s, n - m]]; fs = Rest @ AppendTo[fs, f[n]], {n, m + 1, 10^7}]; s
Previous Showing 11-12 of 12 results.