The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A162547 Somos-4 variant: if n!=4k+1, then a(n) = (4*a(n-1)*a(n-3) - 4*a(n-2)^2) / a(n-4), otherwise a(n) = 0, with a(-2) = a(-1) = a(0) = 1. 5
1, 0, -4, -16, -64, 0, 4096, 65536, 1048576, 0, -1073741824, -68719476736, -4398046511104, 0, 72057594037927936, 18446744073709551616, 4722366482869645213696, 0, -1237940039285380274899124224, -1267650600228229401496703205376, -1298074214633706907132624082305024, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Hankel transform of A101499.
Hankel transform of A124431. - Paul Barry, Oct 02 2009
LINKS
Paul Barry, Invariant number triangles, eigentriangles and Somos-4 sequences, arXiv preprint arXiv:1107.5490 [math.CO], 2011.
Paul Barry, On the Connection Coefficients of the Chebyshev-Boubaker polynomials, The Scientific World Journal, Volume 2013 (2013), Article ID 657806, 10 pages.
Paul Barry, Riordan arrays, the A-matrix, and Somos 4 sequences, arXiv:1912.01126 [math.CO], 2019.
FORMULA
a(n) = a(-2 - n), a(n) * a(n+5) = 4 * a(n+1) * a(n+4) for all n in Z. - Michael Somos, Jul 20 2014
a(4*n + 1) = 0 for all n in Z. - Michael Somos, Jun 26 2017
MATHEMATICA
a[ n_] := With[{m = n + 1, k = Quotient[n + 2, 4]}, Boole[Mod[m, 4] != 2] (-1)^k 4^(k (m - 2 k))]; (* Michael Somos, Jun 26 2017 *)
PROG
(PARI) {a(n) = my(m=n+1, k=(n+2)\4); (m%4!=2) * (-1)^k * 4^(k*(m - 2*k))}; /* Michael Somos, Jul 20 2014 */
CROSSREFS
Sequence in context: A022030 A135450 A265032 * A073533 A330689 A061283
KEYWORD
easy,sign
AUTHOR
Paul Barry, Jul 05 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 28 21:13 EDT 2024. Contains 372920 sequences. (Running on oeis4.)