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!)
A236398 Period 4: repeat 1,1,2,1. 2
1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
REFERENCES
H. Blaine Lawson, Jr. and M.-L. Michelsohn, Spin Geometry, Princeton, p. 33.
LINKS
FORMULA
a(n) = a(n-4) for n > 4. G.f.: x*(1 + x + 2*x^2 + x^3)/(1 - x^4). - Chai Wah Wu, Jun 04 2016
E.g.f.: (-2 - sin(x) + 3*sinh(x) + 2*cosh(x))/2. - Ilya Gutkovskiy, Jun 04 2016
a(n) = (5-cos(n*Pi)-2*sin(n*Pi/2))/4. - Luce ETIENNE, Feb 17 2017
PROG
(Magma) &cat [[1, 1, 2, 1]^^24]; // Bruno Berselli, Dec 10 2015
(PARI) a(n)=n=n%8; if(n==3||n==7, 2, 1) \\ Charles R Greathouse IV, Jul 17 2016
CROSSREFS
Cf. A177704.
Sequence in context: A088951 A361633 A186006 * A107453 A164115 A164117
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jan 29 2014
EXTENSIONS
Definition corrected by Paul Curtz. - N. J. A. Sloane, Oct 10 2016
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 April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)