login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A185269 The subsequence of primes, in order of occurrence, in A005351. 2
7, 5, 31, 29, 19, 17, 23, 107, 109, 97, 103, 101, 127, 113, 73, 79, 67, 71, 89, 83, 431, 419, 421, 443, 433, 439, 397, 389, 409, 401, 491, 487, 509, 499, 503, 457, 463, 461, 449, 479, 467, 293, 313, 317, 307, 311, 271, 269, 257, 263, 283, 281, 277, 367, 353, 359, 379 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

A005351(n) is a representation of n obtained by converting n to the base(-2) representation, interpreting this as a binary, base(+2), number, and converting back to decimal.

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..1000

MATHEMATICA

f[n_] := Module[{t = 2 (4^Floor[Log[4, Abs[n] + 1] + 2] - 1)/3}, BitXor[n + t, t]]; Select[Array[f, 300], PrimeQ] (* Robert G. Wilson v, Feb 21 2011 *)

CROSSREFS

Cf. A000040, A005351.

Sequence in context: A059990 A213246 A213243 * A328758 A070426 A341431

Adjacent sequences:  A185266 A185267 A185268 * A185270 A185271 A185272

KEYWORD

base,easy,nonn

AUTHOR

Jonathan Vos Post, Feb 19 2011

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 June 22 04:06 EDT 2021. Contains 345367 sequences. (Running on oeis4.)