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

60%
+1 −0
Challenges Probability of rolling all 6 dice faces

cQuents*, 10 bytes O920A$/6^$ That * there is because, while this should be a specification-correct program that does the correct computation, the only interpreter available does not implement ...

posted 10mo ago by RubenVerg‭

Answer
#1: Initial revision by user avatar RubenVerg‭ · 2023-07-09T18:41:04Z (10 months ago)
# cQuents*, 10 bytes

```text
O920A$/6^$
```

That * there is because, while this should be a specification-correct program that does the correct computation, the [only interpreter available](https://github.com/stestoltz/cQuents) does not implement importing any OEIS sequence, but just a few. I suppose [this](https://codegolf.codidact.com/posts/279375/279382#answer-279382) might suggest this is not a valid submission, in which case I would still want to publish it but mark it as non-competing, which I don't think the leaderboard below the question understands as a concept

Anyways, this code does this:

* `O920A$` the input-th item of the OEIS sequence [A000920](https://oeis.org/A000920)
* `/` divided by
* `6^$` 6 to the power of the input