login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A140387 Binary encoding of the location of primes in integer sets r+30*n with remainder r=1,7,11,..,29. 1
1, 32, 16, 129, 73, 36, 194, 6, 42, 176, 225, 12, 21, 89, 18, 97, 25, 243, 44, 44, 196, 34, 166, 90, 149, 152, 109, 66, 135, 225, 89, 169, 169, 28, 82, 210, 33, 213, 179, 170, 38, 92, 15, 96, 252, 171, 94, 7, 209, 2, 187, 22, 153, 9, 236, 197, 71, 179, 212, 197, 186 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Classify all integers 30n+r with r= 1, 7, 11, 13, 17, 19, 23 or 29 as nonprime or prime and assign bit positions 0=LSB, 1, 2, 3, .., 7=MSB to the 8 remainders in the same order. Raise the bit if 30n+r is nonprime, erase it if 30n+r is prime.

The sequence interprets this as a number in base 2 and shows the decimal representation.

LINKS

Table of n, a(n) for n=1..61.

EXAMPLE

For n=1, the 8 numbers 31 (r=1), 37 (r=7), 41 (r=11), 43 (r=17), 47 (r=17), 49 (r=19), 53 (r=23) and 59 (r=29) are prime, prime, prime, prime, prime, nonprime, prime, prime, prime, which is rendered into the binary 000100000 = 2^5=32=a(1).

CROSSREFS

Cf. A132236, A132235, A132234, A039919, A132233, A132232, A136066, A140378.

Sequence in context: A070621 A234967 A033352 * A023094 A087502 A070628

Adjacent sequences:  A140384 A140385 A140386 * A140388 A140389 A140390

KEYWORD

nonn,less

AUTHOR

Juri-Stepan Gerasimov, Jun 10 2008

EXTENSIONS

Edited by R. J. Mathar, Jun 17 2008

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 17 14:39 EDT 2019. Contains 325106 sequences. (Running on oeis4.)