RosettaCodeData/Task/Zeckendorf-number-representation/PowerShell/zeckendorf-number-representation-2.psh
2016-12-05 22:15:40 +01:00

2 lines
142 B
Text

# Get Zeckendorf numbers through 20, convert to binary for display
0..20 | ForEach { [convert]::ToString( ( Get-ZeckendorfNumber $_ ), 2 ) }