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

A382456 Number of self-primes <= 10^n.

Original entry on oeis.org

3, 6, 21, 115, 836, 6943, 63113, 585517, 5263827, 45808290, 398309972
Offset: 1

Views

Author

Shyam Sunder Gupta, Mar 27 2025

Keywords

Crossrefs

A386568 The number of binary self numbers not exceeding 10^n.

Original entry on oeis.org

1, 3, 26, 254, 2526, 25270, 252666, 2526605, 25266035, 252660259, 2526602596, 25266025903, 252660259016, 2526602590093
Offset: 0

Views

Author

Amiram Eldar, Jul 26 2025

Keywords

Examples

			There are 3 binary self numbers that do no exceed 10: 1, 4 and 6. Hence a(1) = 3.
		

Crossrefs

Cf. A010061, A242403, A382452 (decimal analog), A386569.

Programs

  • Mathematica
    selfQ[n_] := AllTrue[Range[n, n - Floor@Log2[n], -1], # + DigitCount[#, 2, 1] != n &]; a[n_] := Count[Range[10^n], _?selfQ]; Array[a, 6, 0]

Formula

Limit_{n->oo} a(n)/10^n = A242403.

A386569 The number of binary self numbers not exceeding 2^n.

Original entry on oeis.org

1, 1, 2, 3, 5, 10, 18, 34, 67, 131, 261, 520, 1037, 2073, 4143, 8283, 16562, 33121, 66237, 132471, 264938, 529870, 1059740, 2119473, 4238941, 8477878, 16955748, 33911492, 67822978, 135645949, 271291894, 542583782, 1085167557, 2170335106, 4340670206, 8681340402
Offset: 0

Views

Author

Amiram Eldar, Jul 26 2025

Keywords

Examples

			There are 3 binary self numbers that do no exceed 2^3 = 8: 1, 4 and 6. Hence a(3) = 3.
		

Crossrefs

Programs

  • Mathematica
    selfQ[n_] := AllTrue[Range[n, n - Floor@Log2[n], -1], # + DigitCount[#, 2, 1] != n &]; a[n_] := Count[Range[2^n], _?selfQ]; Array[a, 16, 0]

Formula

Limit_{n->oo} a(n)/2^n = A242403.

A382457 Number of twin self-primes <= 10^n.

Original entry on oeis.org

2, 2, 2, 2, 12, 87, 534, 3683, 27738, 231431, 2061879
Offset: 1

Views

Author

Shyam Sunder Gupta, Mar 27 2025

Keywords

Crossrefs

Extensions

a(11) from Amiram Eldar, Apr 04 2025
Showing 1-4 of 4 results.