|
| |
|
|
A075743
|
|
For all numbers of the form 6 +/- 1 starting with 5,7,11,13..., '1' indicates prime and '0' indicates composite.
|
|
5
| |
|
|
1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
COMMENTS
| a(n) = A010051(A007310(n+2)). [From Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Oct 02 2008]
The sequence may described as: for all numbers k(n) [k(n) = 6 ceil(n/2) + (-1)^n] congruent to -1 or +1 (mod 6) starting with k(n) = {5,7,11,13,...}, a(k(n)) is 1 if k(n) is prime and 0 if k(n) is composite. [From Daniel Forgues (squid(AT)zensearch.com), Mar 01 2009]
|
|
|
LINKS
| Daniel Forgues, Table of n, a(n) for n=1,...,33332
|
|
|
CROSSREFS
| Cf. A000040.
Absolute value of A156706. [From Daniel Forgues (squid(AT)zensearch.com), Mar 01 2009]
Sequence in context: A179775 A167686 A156706 * A136705 A141646 A129573
Adjacent sequences: A075740 A075741 A075742 * A075744 A075745 A075746
|
|
|
KEYWORD
| easy,nonn
|
|
|
AUTHOR
| Stephan Wagler (stephanwagler(AT)aol.com), Oct 08 2002
|
|
|
EXTENSIONS
| Offset corrected by N. J. A. Sloane (njas(AT)research.att.com), Feb 02 2009
|
| |
|
|