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.

A099632 1-sigma-balanced numbers: numbers n such that (sigma(n-d)+sigma(n+d))/2 = sigma(n) for d=1.

Original entry on oeis.org

45, 694, 3768374, 6303735, 15913725, 20291271, 42824146, 47788894, 54424095, 141120134, 163380694, 219105494, 305034794, 404686557, 790565966, 893558445, 928608435, 1198745925, 1251276254, 1409720194, 1412229015, 1696122945
Offset: 1

Views

Author

Labos Elemer, Oct 26 2004

Keywords

Comments

These terms, the 1-sigma-balanced numbers, seems to be significantly rarer than those with d=2,4,6,8,10.. It seems also that the 6-sigma-balanced numbers are very common.

Examples

			n=20291271, a=sigma(n-1)=37374480, b=sigma(n+1)=38104560, sigma(n)=37739520=(a+b)/2.
		

Crossrefs

Cf. A000203, A099631 (2-sigma-balanced numbers).

Programs

  • Mathematica
    d=1;Do[s=(DivisorSigma[1, n+d]+DivisorSigma[1, n-d])/ 2-DivisorSigma[1, n];If[Equal[s, 0], Print[n]], {n, 1, 100000000}]
  • PARI
    is(n) = n>1 && (sigma(n-1)+sigma(n+1))/2==sigma(n) \\ Felix Fröhlich, Sep 03 2019

Formula

Solutions to sigma(x-d)+sigma(x+d)=2*sigma(x) where d=1.

Extensions

a(10)-a(22) from Donovan Johnson, Feb 01 2009

A099633 Numbers k such that (phi(k-2) + phi(k+2))/2 = phi(k); 2-phi/balanced numbers.

Original entry on oeis.org

5, 10, 14, 20, 25, 50, 80, 154, 200, 434, 520, 610, 815, 1205, 1345, 2680, 3200, 3560, 4669, 7330, 9290, 10130, 11705, 17630, 24410, 25090, 33385, 34205, 39754, 39785, 40870, 48470, 55979, 59090, 73165, 75470, 78035, 95990, 107680, 115685, 120230
Offset: 1

Views

Author

Labos Elemer, Oct 27 2004

Keywords

Examples

			k=154, phi(152)=72, phi(156)=48, phi(154)=60.
		

Crossrefs

Programs

Extensions

Incorrect term 2 removed by Michel Marcus, Nov 19 2022
Showing 1-2 of 2 results.