The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A135534 a(1) = 1; for n>=1, a(2n) = A135561(n), a(2n+1) = 0. 4
 1, 3, 0, 7, 0, 1, 0, 15, 0, 1, 0, 3, 0, 1, 0, 31, 0, 1, 0, 3, 0, 1, 0, 7, 0, 1, 0, 3, 0, 1, 0, 63, 0, 1, 0, 3, 0, 1, 0, 7, 0, 1, 0, 3, 0, 1, 0, 15, 0, 1, 0, 3, 0, 1, 0, 7, 0, 1, 0, 3, 0, 1, 0, 127, 0, 1, 0, 3, 0, 1, 0, 7, 0, 1, 0, 3, 0, 1, 0, 15, 0, 1, 0, 3, 0, 1, 0, 7, 0, 1, 0, 3, 0, 1, 0, 31, 0, 1, 0, 3, 0, 1 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS Antti Karttunen, Table of n, a(n) for n = 1..65537 MAPLE GS(6, 1, 200); [see A135416]. PROG (PARI) A135560(n) = { my(t=valuation(n, 2)); (t + (n==2^t) + 1); }; \\ From A135560 A135534(n) = if(1==n, 1, if((n%2), 0, ((2^(A135560(n/2)))-1))); \\ Antti Karttunen, Sep 27 2018 CROSSREFS Cf. A135416. This is Guy Steele's sequence GS(6, 1) (see A135416). Sequence in context: A171002 A137436 A099893 * A346516 A337767 A249904 Adjacent sequences:  A135531 A135532 A135533 * A135535 A135536 A135537 KEYWORD nonn AUTHOR N. J. A. Sloane, based on a message from Guy Steele and Don Knuth, Mar 01 2008 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.

Last modified June 27 19:31 EDT 2022. Contains 354898 sequences. (Running on oeis4.)