login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A171942 Forward van Eck transform of A000120. 3
0, 1, 2, 2, 4, 1, 3, 4, 8, 1, 2, 2, 5, 1, 5, 8, 16, 1, 2, 2, 4, 1, 3, 4, 9, 1, 2, 2, 7, 1, 9, 16, 32, 1, 2, 2, 4, 1, 3, 4, 8, 1, 2, 2, 5, 1, 5, 8, 17, 1, 2, 2, 4, 1, 3, 4, 11, 1, 2, 2, 11, 1, 17, 32, 64, 1, 2, 2, 4, 1, 3, 4, 8, 1, 2, 2, 5, 1, 5, 8, 16, 1, 2, 2, 4, 1, 3, 4, 9, 1, 2, 2, 7, 1, 9, 16, 33, 1, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

Assumes that the offset of A000120 has been changed to 1.

Comment from Marc LeBrun, Jan 01 2014: A057168(n) - n (the difference between n and the next number with the same binary weight) matches A171942, "Forward van Eck transform of A000120" (the weight of n). Response from M. F. Hasler, Jan 01 2014: The "forward van Eck transform" is the sequence of gaps to the next term with equal value: FVE(a) = n -> min { m>0 | a(n+m)=a(n) } with the (exceptional) convention that : min {} = 0. (See A171898.) So your observation is exactly the definition.

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

N. J. A. Sloane, Transforms

PROG

(Haskell)

a171942 1 = 0

a171942 n = head [m | m <- [1..], a000120 (m + n - 1) == a000120 (n - 1)]

-- Reinhard Zumkeller, Jan 01 2014

CROSSREFS

Cf. A000120, A057168, A171898.

Sequence in context: A175001 A205843 A171727 * A264799 A248503 A214714

Adjacent sequences:  A171939 A171940 A171941 * A171943 A171944 A171945

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Oct 25 2010

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 5 03:00 EDT 2021. Contains 346457 sequences. (Running on oeis4.)