OFFSET
0,1
COMMENTS
This sequence appears to have the property that for m > n: if s divides a(n) and a(m) then s also divides a(2m-n). For example, 11 divides -33 = a(4), 11 divides -32769 = a(14) and 11 divides a(2*14-4) = a(24) = -33554433.
Floretion Algebra Multiplication Program, FAMP Code: 4tesseq[ - .75'i - .75i' - .75'ii' + .25'jj' + .25'kk' + .25'jk' + .25'kj' - .75e]
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Robert Munafo, Sequences Related to Floretions
FORMULA
G.f.: -(3 +8*x +18*x^2 +16*x^3)/((2*x+1)*(x+1)*(2*x^2+1)).
MATHEMATICA
CoefficientList[Series[-(3 + 8*x + 18*x^2 + 16*x^3)/((2*x + 1)*(x + 1)*(2*x^2 + 1)), {x, 0, 50}], x] (* G. C. Greubel, Jan 01 2018 *)
PROG
(PARI) x='x+O('x^30); Vec(-(3 + 8*x + 18*x^2 + 16*x^3)/((2*x + 1)*(x + 1)*(2*x^2 + 1))) \\ G. C. Greubel, Jan 01 2018
(Python)
def A105951(n): return (1<<n+1)+1+(1<<m+2 if (m:=n>>1)&1 else -(1<<m+2)) if n&1 else -(1<<n+1)-1 # Chai Wah Wu, Mar 07 2024
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Creighton Dement, Apr 27 2005
STATUS
approved