Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Challenges

Post History

66%
+2 −0
Challenges 1, 2, Fizz, 4, Buzz!

Japt -R, 27 bytes Lõ@"FiBu"ò úz4 ËpXv°EÑÄìªX Test it Lõ@"FiBu"ò úz4 ËpXv°EÑÄìªX L :100 õ :Range [1,L] @ ...

posted 3y ago by Shaggy‭

Answer
#1: Initial revision by user avatar Shaggy‭ · 2021-06-22T09:15:46Z (almost 3 years ago)
# [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), 27 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)

    Lõ@"FiBu"ò úz4 ËpXv°EÑÄìªX

[Test it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=TPVAIkZpQnUi8iD6ejQgy3BYdrBF0cTDrKpY)

    Lõ@"FiBu"ò úz4 ËpXv°EÑÄìªX
    L                               :100
     õ                              :Range [1,L]
      @                             :Map each X
       "FiBu"                       :  Literal string
             ò                      :  Partitions of length 2
               úz4                  :  Right pad each with "z" to length 4
                   Ë                :  Map each element at 0-based index E
                    p               :    Repeat
                     Xv             :      Test X for divisibility by (result will be 1 or 0)
                       °E           :        Prefix increment E
                         Ñ          :        Multiply by 2
                          Ä         :        Add 1
                           Ã        :  End map
                            ¬       :  Join
                             ªX     :  Logical OR with X
                                    :Implicit output, joined with newlines