login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A205649 Hamming distance between twin primes. 15
2, 1, 2, 1, 1, 1, 2, 3, 1, 2, 1, 1, 2, 6, 1, 2, 4, 1, 1, 3, 2, 2, 4, 1, 1, 1, 3, 1, 1, 2, 1, 1, 2, 1, 1, 2, 3, 1, 1, 2, 7, 1, 1, 1, 1, 3, 2, 2, 1, 4, 3, 2, 2, 1, 1, 2, 4, 1, 2, 1, 1, 2, 1, 3, 6, 1, 1, 1, 2, 1, 2, 1, 1, 5, 1, 7, 3, 1, 1, 1, 1, 3, 4, 5, 2, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Twin primes for which a(n)=1 are in A122565.
Conjecture: The sequence is unbounded.
LINKS
FORMULA
A001359(n) == -1 (mod 2^a(n)).
MATHEMATICA
nn = 1000; ps = Prime[Range[nn]]; t = {}; Do[If[ps[[n]] + 2 == ps[[n + 1]], AppendTo[t, ps[[n]]]], {n, nn - 1}]; Table[b2 = IntegerDigits[t[[k]] + 2, 2]; b1 = IntegerDigits[t[[k]], 2, Length[b2]]; Total[Abs[b1 - b2]], {k, Length[t]}] (* T. D. Noe, Jan 30 2012 *)
CROSSREFS
Sequence in context: A029433 A337144 A088203 * A176510 A362951 A342464
KEYWORD
nonn,base
AUTHOR
Vladimir Shevelev, Jan 30 2012
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 05:23 EDT 2024. Contains 371918 sequences. (Running on oeis4.)