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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A115424 Integers n > 0 such that n XOR 62*n = 63*n. 6
1, 2, 4, 8, 16, 32, 64, 65, 128, 129, 130, 256, 257, 258, 260, 512, 513, 514, 516, 520, 1024, 1025, 1026, 1028, 1032, 1040, 2048, 2049, 2050, 2052, 2056, 2064, 2080, 4096, 4097, 4098, 4100, 4104, 4112, 4128, 4160, 4161, 8192, 8193, 8194, 8196, 8200, 8208 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Ivan Neretin, Table of n, a(n) for n = 1..10000

FORMULA

This sequence also seems to satisfy:

3*a(n) XOR 41*a(n) = 42*a(n);

5*a(n) XOR 35*a(n) = 38*a(n);

6*a(n) XOR 35*a(n) = 37*a(n);

7*a(n) XOR 35*a(n) = 36*a(n); etc.

PROG

(Perl)

$cnt=0;

foreach(1..8_000){

    print ++$cnt, " $_\n" if ((62*$_)^$_)==63*$_;

}

# Ivan Neretin, Nov 11 2016

(PARI) isok(n) = bitxor(n, 62*n) == 63*n; \\ Michel Marcus, Nov 11 2016

CROSSREFS

Cf. A003714 (Fibbinary numbers), A048715, A048718, A115422, A115423.

Sequence in context: A000855 A036135 A036131 * A225878 A272985 A318588

Adjacent sequences:  A115421 A115422 A115423 * A115425 A115426 A115427

KEYWORD

nonn

AUTHOR

Paul D. Hanna, Jan 22 2006

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 February 16 12:48 EST 2019. Contains 320163 sequences. (Running on oeis4.)