|
|
|
|
3, 15, 59, 255, 947, 4095, 15131, 65407, 242627, 1048271, 3874811, 16743551, 62119411, 268369791, 991927259, 4286447359, 15902689155, 68701773199, 253935222715, 1097330432511, 4071076396851, 17587676696575, 65007550988187, 280916526002175, 1042196361379523, 4502448248917967, 16641933085980923, 71914639532751871
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
|
|
PROG
|
(PARI)
A269160(n) = bitxor(n, bitor(2*n, 4*n));
\\ Use this one for writing b-files:
A328104write(up_to) = { my(s=1, n=0); for(n=0, up_to, write("b328104.txt", n, " ", bitor(s, s<<1)); s = A269160(s)); };
(Python)
def A269160(n): return(n^((n<<1)|(n<<2)))
def genA328104():
'''Yield successive terms of A328104.'''
s = 1
while True:
yield (s|(s<<1))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|