C# (Visual C# Interactive Compiler), (削除) 194 (削除ここまで) (削除) 179 (削除ここまで) 175 bytes
n=>{for(int i=1,p=i;i<5001;p=i){var s="";var j=new List<int>();while(p>0)j.Add(p-(p/=n)*n);s+=i%(n/2+1)<1?"Fizz":"";Print(i++%(n/3+4)<1?s+"Buzz":s==""?string.Join(",",j):s);}}
Outputs numbers by the values in each digit place, just like Arnauld does, except it is reversed. For example, 10 becomes 0,1.
Gymhgy
- 8k
- 12
- 35