Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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