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.

A357608 Numbers k such that k and k+1 are both in A357605.

Original entry on oeis.org

76544, 104895, 126224, 165375, 170624, 174824, 201824, 245024, 257984, 271215, 273104, 316575, 338624, 387855, 447615, 469664, 477224, 540224, 618975, 633555, 641024, 659295, 705375, 752895, 770175, 842624, 843975, 862784, 870975, 893024, 913275, 957824, 1047375
Offset: 1

Views

Author

Amiram Eldar, Oct 06 2022

Keywords

Comments

Numbers k such that A162296(k) > 2*k and A162296(k+1) > 2*(k+1).

Examples

			76544 is a term since 76544 and 76545 are both in A357605: A162296(76544) = 170688 > 2*76544 and A162296(76545) = 157248 > 2*76545.
		

Crossrefs

Cf. A162296.
Subsequence of A013929, A096399 and A357605.

Programs

  • Mathematica
    q[n_] := Module[{f = FactorInteger[n], p, e}, p = f[[;; , 1]]; e = f[[;; , 2]]; Times @@ ((p^(e + 1) - 1)/(p - 1)) - Times @@ (p + 1) > 2*n]; Select[Range[2, 10^6], q[#] && q[#+1] &]

A339937 Numbers k such that k and k+1 are both coreful abundant numbers (A308053).

Original entry on oeis.org

2282175, 33350624, 46734975, 86424975, 87152624, 105674624, 126114975, 169707824, 179762624, 214491375, 221370975, 235857824, 266022224, 270586575, 278524575, 297774224, 360021375, 372683024, 380858624, 395715375, 425840624, 470624175, 489873824, 503963775
Offset: 1

Views

Author

Amiram Eldar, Dec 23 2020

Keywords

Examples

			2282175 is a term since 2282175 and 2282176 are both coreful abundant numbers.
		

Crossrefs

Subsequence of A308053.

Programs

  • Mathematica
    f[p_, e_] := (p^(e + 1) - 1)/(p - 1) - 1; s[1] = 1; s[n_] := Times @@ (f @@@ FactorInteger[n]); abQ[n_] := s[n] > 2*n; q1 = False; seq = {}; Do[q2 = abQ[n]; If[q1 && q2, AppendTo[seq, n - 1]]; q1 = q2, {n, 2, 10^8}]; seq

A380933 Numbers k such that k and k+1 are both in A380929.

Original entry on oeis.org

121643775, 157390064, 161019495, 275734304, 584899875, 1493214975, 1614323655, 2043708975, 3081783375, 3118599224, 3426851295, 3902652495, 3947893424, 5849043375, 11731509855, 12138531615, 13008843224, 14598032624, 17588484584, 19782621495, 20191564575, 20759209064
Offset: 1

Views

Author

Amiram Eldar, Feb 08 2025

Keywords

Comments

Numbers k such that A380845(k) > 2*k and A380845(k+1) > 2*(k+1).

Examples

			121643775 is a term since A380845(121643775) = 244722015 > 2 * 121643775 = 243287550, and A380845(121643776) = 256456081 > 2 * 121643776 = 243287552.
		

Crossrefs

Subsequence of A096399 and A380929.

Programs

  • Mathematica
    q[k_] := Module[{h = DigitCount[k, 2, 1]}, DivisorSum[k, # &, DigitCount[#, 2, 1] == h &] > 2*k];
    seq[lim_] := Module[{s = {}}, Do[If[q[k], If[q[k-1], AppendTo[s, k-1]]; If[q[k+1], AppendTo[s, k]]], {k, 3, lim, 2}]; s];
    seq[3*10^8]
  • PARI
    isab(k) = {my(h = hammingweight(k)); sumdiv(k, d, d*(hammingweight(d) == h)) > 2*k;}
    list(lim) = forstep(k = 3, lim, 2, if(isab(k), if(isab(k-1), print1(k-1, ", ")); if(isab(k+1), print1(k, ", "))));
Showing 1-3 of 3 results.