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-3 of 3 results.

A348346 Numbers k such that k and k+1 have the same positive sum of noninfinitary divisors (A348271).

Original entry on oeis.org

20150, 52767, 99296, 835515, 1241504, 2199392, 6294015, 11158496, 12770450, 17016416, 19127907, 20128544, 23686748, 24790688, 26580554, 33366015, 34385247, 39687651, 42106976, 44157087, 45466676, 59825349, 60832449, 73780244, 75268775, 81654650, 84696849, 111457213
Offset: 1

Views

Author

Amiram Eldar, Oct 13 2021

Keywords

Comments

Numbers k such that A348271(k) = A348271(k+1) > 0.
The terms are restricted to have a positive sum of noninfinitary divisors, since there are many consecutive numbers without noninfinitary divisors (these are the terms of A036537).

Examples

			20150 is a term since A348271(20150) = A348271(20151) = 6720.
		

Crossrefs

Subsequence of A162643.
Similar sequences: A002961, A064115, A064125, A293183, A306985.

Programs

  • Mathematica
    f[p_, e_] := Module[{b = IntegerDigits[e, 2], m}, m = Length[b]; Product[If[b[[j]] > 0, 1 + p^(2^(m - j)), 1], {j, 1, m}]]; isigma[1] = 1; isigma[n_] := Times @@ f @@@ FactorInteger[n]; s[n_] := DivisorSigma[1,n] - isigma[n]; Select[Range[10^5], (s1 = s[#]) > 0 && s1 == s[# + 1] &]

A355710 Numbers k such that k and k+1 have the same number of 5-smooth divisors.

Original entry on oeis.org

2, 21, 33, 34, 38, 57, 85, 86, 93, 94, 104, 116, 122, 141, 145, 146, 154, 158, 171, 177, 182, 189, 201, 205, 213, 214, 218, 237, 265, 266, 273, 296, 302, 321, 326, 332, 334, 338, 344, 357, 362, 381, 385, 387, 393, 394, 398, 417, 445, 446, 453, 454, 475, 476, 482
Offset: 1

Views

Author

Amiram Eldar, Jul 15 2022

Keywords

Comments

Numbers k such that A355583(k) = A355583(k+1).

Examples

			2 is a term since A355583(2) = A355583(3) = 2.
		

Crossrefs

Cf. A355583, A355709 (3-smooth analog).
Subsequences: A355711, A355712.

Programs

  • Mathematica
    s[n_] := Times @@ (1 + IntegerExponent[n, {2, 3, 5}]); Select[Range[500], s[#] == s[#+1] &]
  • PARI
    s(n) = (valuation(n, 2) + 1) * (valuation(n, 3) + 1) * (valuation(n, 5) + 1);
    s1 = s(1); for(k = 2, 500, s2 = s(k); if(s1 == s2, print1(k-1,", ")); s1 = s2);

A355709 Numbers k such that k and k+1 have the same number of 3-smooth divisors.

Original entry on oeis.org

2, 14, 21, 33, 38, 44, 50, 57, 69, 74, 80, 86, 93, 99, 105, 110, 116, 122, 129, 135, 141, 146, 158, 165, 171, 177, 182, 194, 201, 213, 218, 230, 237, 249, 254, 260, 266, 273, 285, 290, 296, 302, 309, 315, 321, 326, 332, 338, 345, 357, 362, 374, 381, 387, 393, 398
Offset: 1

Views

Author

Amiram Eldar, Jul 15 2022

Keywords

Comments

Numbers k such that A072078(k) = A072078(k+1).
This sequence is infinite since it includes all the numbers of the form 3*(2^(2*k+1)-1), with k>=1.

Examples

			2 is a term since A072078(2) = A072078(3) = 2.
		

Crossrefs

Cf. A072078, A355710 (5-smooth analog).

Programs

  • Mathematica
    s[n_] := Times @@ (1 + IntegerExponent[n, {2, 3}]); Select[Range[400], s[#] == s[#+1] &]
  • PARI
    s(n) = (valuation(n, 2) + 1) * (valuation(n, 3) + 1);
    s1 = s(1); for(k = 2, 400, s2 = s(k); if(s1 == s2, print1(k-1,", ")); s1 = s2);
Showing 1-3 of 3 results.