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.

A324789 First differences of A324787: distances in A022837 from n-th low point to the next.

Original entry on oeis.org

3, 7, 17, 49, 121, 309, 847, 2237, 5997, 16163, 44827
Offset: 0

Views

Author

N. J. A. Sloane, Sep 04 2019

Keywords

Crossrefs

Cf. A022837. See A324787 for further information.

Extensions

Modified definition to make offset 0. - N. J. A. Sloane, Oct 02 2019

A022837 a(n) = c(0)*p(0) + ... + c(n)*p(n), where c(i) = 1 if a(i-1) < p(i) and c(i) = -1 if a(i-1) >= p(i) (p(0) = 1, p(i) = prime(i)).

Original entry on oeis.org

1, 3, 0, 5, 12, 1, 14, 31, 12, 35, 6, 37, 0, 41, 84, 37, 90, 31, 92, 25, 96, 23, 102, 19, 108, 11, 112, 9, 116, 7, 120, 247, 116, 253, 114, 263, 112, 269, 106, 273, 100, 279, 98, 289, 96, 293, 94, 305, 82, 309, 80, 313, 74, 315, 64, 321, 58, 327, 56, 333, 52, 335
Offset: 0

Views

Author

Keywords

Comments

Alternative definition: a(0)=1; thereafter a(n) = a(n-1) + prime(n) if a(n-1) < prime(n), otherwise a(n) = a(n-1) - prime(n). Cf. A008348. - N. J. A. Sloane, Aug 31 2019

Examples

			From _Seiichi Manyama_, Sep 05 2019: (Start)
a(0) = 1.
a(1) = 1 + 2 = 3.
a(2) = 1 + 2 - 3 = 0.
a(3) = 1 + 2 - 3 + 5 = 5.
a(4) = 1 + 2 - 3 + 5 + 7 = 12.
a(5) = 1 + 2 - 3 + 5 + 7 - 11 = 1. (End)
		

Crossrefs

Extensions

Missing a(46)=94 inserted and name corrected by Sean A. Irvine, May 21 2019

A324788 Value of A022837 at its n-th low point.

Original entry on oeis.org

0, 1, 0, 7, 2, 3, 0, 1, 0, 7, 0, 29
Offset: 0

Views

Author

N. J. A. Sloane, Sep 04 2019

Keywords

Crossrefs

Cf. A022837. See A324787 for further information.

Extensions

Modified definition to make offset 0. - N. J. A. Sloane, Oct 02 2019

A324790 Indices of zeros in A022837.

Original entry on oeis.org

2, 12, 508, 3592, 25752, 1507602
Offset: 1

Views

Author

N. J. A. Sloane, Sep 04 2019

Keywords

Comments

For k > 0, A022837(2*k-1) is odd and A022837(2*k) is even. So a(n) is even. - Seiichi Manyama, Sep 06 2019
If it exists, a(7) > 10^10. - Michael S. Branicky, Sep 02 2024

Crossrefs

Cf. A022837, A309225. See A324787 for further information.

Extensions

a(5)-a(6) from Seiichi Manyama, Sep 05 2019
Showing 1-4 of 4 results.