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.

A385430 Least number k such that k and k + n! have the same number of divisors.

Original entry on oeis.org

2, 3, 5, 5, 7, 7, 11, 23, 17, 11, 17, 29, 46, 19, 43, 23, 31, 37, 89, 29, 31, 31, 97, 62, 41, 59, 47, 67, 159, 107, 127, 79, 37, 97, 61, 131, 86, 43, 97, 53, 61, 97, 71, 47, 94, 101, 233, 53, 83, 61, 249, 53, 71, 158, 71, 149, 107, 134, 254, 206, 166, 131, 271
Offset: 1

Views

Author

Robert G. Wilson v, Jul 31 2025

Keywords

Comments

Inspired by A284783.
First differs from A037153 at n=13 (and when they differ a(n) is a composite < A037153(n)).

Examples

			a(1) = 2 since d(2) = d(3) = 2;
a(5) = 7 since d(7) = d(7+5!) = 2;
a(13) = 46 since d(46) = d(46+13!) = 4; etc.
		

Crossrefs

Programs

  • Mathematica
    a[n_] := Block[{k = 2}, While[ DivisorSigma[0, k] != DivisorSigma[0, k + n!], k++]; k]; Array[ a, 51]
  • PARI
    a(n) = my(k=1); while (numdiv(k) != numdiv(k+n!), k++); k; \\ Michel Marcus, Aug 02 2025

Extensions

More terms from Sean A. Irvine, Aug 08 2025

A386570 The number of solutions x to d(x) = d(x+1) below 10^n, where d(x) is the number of divisors function (A000005).

Original entry on oeis.org

1, 15, 118, 1119, 10585, 102093, 986262, 9593611, 93752493, 918726697, 9024991249
Offset: 1

Views

Author

Amiram Eldar, Jul 26 2025

Keywords

Examples

			Below 10 there is one solution, x = 2, hence a(1) = 1.
Below 10^2 there are 15 solutions, x = 2, 14, 21, 26, 33, 34, 38, 44, 57, 75, 85, 86, 93, 94, 98, hence a(2) = 15.
		

Crossrefs

Similar sequences: A300285, A317474.

Programs

Formula

a(n) = A074802(10^n).
Showing 1-2 of 2 results.