Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

Reduced a byte.
Source Link

Wolfram Language (Mathematica), (削除) 35 (削除ここまで) 32(削除) 32 (削除ここまで)(削除) 29 (削除ここまで) 28 bytes

Fibonacci@Range[2,Length@#+1]Fibonacci[Range@Tr[#!]+1].#&

Try it online!

Pure function that takes a list 1s and 0s in LSB ordering and returns a number.Try it online!

Wolfram Language (Mathematica), (削除) 35 (削除ここまで) 32 bytes

Fibonacci@Range[2,Length@#+1].#&

Try it online!

Pure function that takes a list 1s and 0s in LSB ordering and returns a number.

Wolfram Language (Mathematica), (削除) 35 (削除ここまで) (削除) 32 (削除ここまで)(削除) 29 (削除ここまで) 28 bytes

Fibonacci[Range@Tr[#!]+1].#&

Try it online!

Changed to LSB order.
Source Link

Wolfram Language (Mathematica), 35(削除) 35 (削除ここまで) 32 bytes

Fibonacci@Range[Length@#+1,2Fibonacci@Range[2,-1]Length@#+1].#&

Try it online! Try it online!

Pure function that takes a list 1s and 0s in LSB ordering and returns a number.

Wolfram Language (Mathematica), 35 bytes

Fibonacci@Range[Length@#+1,2,-1].#&

Try it online!

Wolfram Language (Mathematica), (削除) 35 (削除ここまで) 32 bytes

Fibonacci@Range[2,Length@#+1].#&

Try it online!

Pure function that takes a list 1s and 0s in LSB ordering and returns a number.

Updated link.
Source Link

Wolfram Language (Mathematica), 35 bytes

Fibonacci@Range[Length@#+1,2,-1].#&

Try it online! Try it online!

Wolfram Language (Mathematica), 35 bytes

Fibonacci@Range[Length@#+1,2,-1].#&

Try it online!

Wolfram Language (Mathematica), 35 bytes

Fibonacci@Range[Length@#+1,2,-1].#&

Try it online!

Added TIO link.
Source Link
Loading
Source Link
Loading

AltStyle によって変換されたページ (->オリジナル) /