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!)
A158572 a(n) = A007814((2n-1)!! - 1). 1
1, 1, 3, 4, 1, 1, 4, 5, 1, 1, 3, 4, 1, 1, 5, 6, 1, 1, 3, 4, 1, 1, 4, 5, 1, 1, 3, 4, 1, 1, 6, 7, 1, 1, 3, 4, 1, 1, 4, 5, 1, 1, 3, 4, 1, 1, 5, 6, 1, 1, 3, 4, 1, 1, 4, 5, 1, 1, 3, 4, 1, 1, 7, 8, 1, 1, 3, 4, 1, 1, 4, 5, 1, 1, 3, 4, 1, 1, 5, 6, 1, 1, 3, 4, 1, 1, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,3
COMMENTS
In contrast to A158570, it is a non-periodic and unlimited sequence.
LINKS
FORMULA
a(n)=1, if n==2,3,6,7 mod 8; a(n)=3, if n==4 mod 8; a(n)=4, if n==5 mod 8; a(n)=5, if n=1 mod 8; a(n)=A007814(2n), if n==0 mod 8.
MATHEMATICA
a[n_] := IntegerExponent[((2 n - 1)!! - 1), 2]; Array[a, 100, 2] (* Amiram Eldar, Sep 13 2019 *)
CROSSREFS
Sequence in context: A016453 A238550 A275886 * A083532 A073366 A001086
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Mar 21 2009
EXTENSIONS
a(17) and a(33) corrected and more terms added by Amiram Eldar, Sep 13 2019
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 16 08:41 EDT 2024. Contains 372552 sequences. (Running on oeis4.)