|
|
|
|
6, -48, 2560, -1572864, -3848290697216, 6649092007880460460883968, -18999521285301737936647902825311679255527123058688, 76895533293152762966220781422103876125697362804839499718093497881599910128103059800826635129716736
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
The difference between A372444(n) and the term of A086893 with the same binary length.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
The term of A086893 that has same binary length as A372444(0) = 27 is 21 [as 21 = 10101_2 in binary, and 27 = 11011_2 in binary], therefore a(0) = 27-21 = 6.
The term of A086893 that has same binary length as A372444(1) = 165 is 213, therefore a(1) = 165-213 = -48.
|
|
PROG
|
(PARI)
A371094(n) = { my(m=1+3*n, e=valuation(m, 2)); ((m*(2^e)) + (((4^e)-1)/3)); };
A086893(n) = (if(n%2, 2^(n+1), 2^(n+1)+2^(n-1))\3);
|
|
CROSSREFS
|
|
|
KEYWORD
|
sign
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|