Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A065092
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A065092 Primes with property that when written in base two complementing any single bit yields a composite number. +0
2
127, 173, 191, 233, 239, 251, 277, 337, 349, 373, 431, 443, 491, 557, 653, 683, 701, 733, 761, 1019, 1193, 1201, 1381, 1453, 1553, 1597, 1709, 1753, 1759, 1777, 2027, 2063, 2333, 2371, 2447, 2633, 2879, 2999, 3083, 3181, 3209, 3313, 3593, 3643, 3767 (list; graph; listen)
OFFSET

1,1

COMMENT

Also known as singularly dead end primes.

LINKS

T. D. Noe, Table of n, a(n) for n=1..10000

William Paulsen, Are some rooms totally isolated?

EXAMPLE

127 is in the sequence because 127d becomes 1111111b. "Changing a 1 to a 0 [from right to left] yields rooms 126, 125, 123, 119, 111, 95, or 62, all of which are composite. Furthermore, adding a digit 1 to the left of this number produces, 255 = 11111111b which is also composite. However, this room is not completely isolated from the maze because one can drop in from room 383d = 101111111b." Paulsen.

MATHEMATICA

Do[d = Prepend[ IntegerDigits[ Prime[n], 2], 0]; l = Length[d]; k = 1; While[k < l && !PrimeQ[ FromDigits[ If[d[[k]] == 1, ReplacePart[d, 0, k], ReplacePart[d, 1, k]], 2]], k++ ]; If[k == l, Print[ Prime[n]]], {n, 2, 500} ]

CROSSREFS

Adjacent sequences: A065089 A065090 A065091 this_sequence A065093 A065094 A065095

Sequence in context: A006285 A094933 A137985 this_sequence A141916 A023689 A095284

KEYWORD

base,nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Nov 10 2001

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 13 20:18 EDT 2008. Contains 145016 sequences.


AT&T Labs Research