login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A271420
Nonludicity of n.
4
0, 0, 0, 1, 0, 1, 0, 1, 2, 1, 0, 1, 0, 1, 2, 1, 0, 1, 3, 1, 2, 1, 0, 1, 0, 1, 2, 1, 0, 1, 4, 1, 2, 1, 3, 1, 0, 1, 2, 1, 0, 1, 0, 1, 2, 1, 0, 1, 3, 1, 2, 1, 0, 1, 5, 1, 2, 1, 4, 1, 0, 1, 2, 1, 3, 1, 0, 1, 2, 1, 0, 1, 6, 1, 2, 1, 0, 1, 3, 1, 2, 1, 0, 1, 4, 1
OFFSET
1,9
COMMENTS
If n is ludic, a(n)=0; if n is nonludic, a(n) is the step at which n is rejected from the ludic number sieve.
LINKS
FORMULA
a(n) = (1-A192490(n)) * A260738(n). - Antti Karttunen, Sep 11 2016
PROG
(Scheme) (define (A271419 n) (* (- 1 (A192490 n)) (A260738 n))) -- Antti Karttunen, Sep 11 2016
CROSSREFS
Cf. A265859 (analogous version for lucky numbers).
Sequence in context: A334208 A159195 A265859 * A099313 A316491 A097468
KEYWORD
nonn
AUTHOR
Max Barrentine, Apr 07 2016
STATUS
approved