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.

Previous Showing 11-12 of 12 results.

A265859 Unluckiness of n.

Original entry on oeis.org

0, 1, 0, 1, 2, 1, 0, 1, 0, 1, 2, 1, 0, 1, 0, 1, 2, 1, 3, 1, 0, 1, 2, 1, 0, 1, 4, 1, 2, 1, 0, 1, 0, 1, 2, 1, 0, 1, 3, 1, 2, 1, 0, 1, 5, 1, 2, 1, 0, 1, 0, 1, 2, 1, 6, 1, 4, 1, 2, 1, 3, 1, 0, 1, 2, 1, 0, 1, 0, 1, 2, 1, 0, 1, 0, 1, 2, 1, 0, 1, 3, 1, 2, 1, 7, 1, 0
Offset: 1

Views

Author

Max Barrentine, Dec 17 2015

Keywords

Comments

If n is lucky, a(n)=0; if n is unlucky, a(n) is the step at which n is rejected from the lucky number sieve.

Crossrefs

Cf. also arrays A255543, A255545.
Cf. A271420 (analogous sequence).

Programs

Formula

a(n) = (1-A145649(n)) * A260438(n). - Antti Karttunen, Sep 11 2016, corrected Nov 15 2019

A255547 Lucky / Unlucky array, transposed.

Original entry on oeis.org

1, 3, 2, 7, 5, 4, 9, 19, 11, 6, 13, 27, 39, 17, 8, 15, 45, 57, 61, 23, 10, 21, 55, 97, 91, 81, 29, 12, 25, 85, 117, 147, 121, 103, 35, 14, 31, 109, 177, 181, 199, 153, 123, 41, 16, 33, 139, 225, 277, 243, 253, 183, 145, 47, 18, 37, 157, 295, 345, 369, 315, 301, 217, 165, 53, 20, 43, 175, 325, 447, 465, 471, 379, 351, 247, 187, 59, 22
Offset: 1

Views

Author

Antti Karttunen, Feb 25 2015

Keywords

Comments

See comments at A255545.

Crossrefs

Transpose: A255545.
Inverse: A255548.
Topmost row: A000959, under which follows the rows of array A255544.

Programs

Previous Showing 11-12 of 12 results.