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

A217866 Last time n appears in the first differences of n*log(n): A217865.

Original entry on oeis.org

1, 5, 18, 46, 137, 384, 1059, 2905, 8066, 21883, 59743, 162247, 441824
Offset: 1

Views

Author

Jon Perry, Oct 13 2012

Keywords

Comments

Conjecture: the last time n appears is always before the first time n+2 appears.
For example, examine: 1, 2, 2, 3, 2, 3, 3, 3, 4, 3, 3, 4, 3, 4, 4, 4, 4, 3, 4, 4, 5, 4, 4, 4 (A217865).
We can see that the last 2 is before the first 4, the last 3 is before the first 5, etc.

Examples

			2 lasts appears in A217865 at position 5 so a(2)=5.
		

Crossrefs

Cf. A217865.
Cf. A217976.

Programs

  • JavaScript
    function lastIndex(arr,k) {
    p=-1;
    for (a=1;a
    				
Showing 1-1 of 1 results.