Skip to content
This repository was archived by the owner on Feb 19, 2026. It is now read-only.
This repository was archived by the owner on Feb 19, 2026. It is now read-only.

New puzzle: lucky numbers inspired by codeforces 122A #10

Description

defsat(d: int, n=6002685529):
""" Find a integer factor of n whose decimal representation consists only of 7's and 4's. Inspired by [Codeforces Problem 122 A](https://codeforces.com/problemset/problem/122/A) """returnn%d==0andset(str(d)) <= {"4", "7"}

Solvers, post your solutions in the comments using the following formatting:

<details><summary>Reveal solution</summary>
```python
def sol():
return "world" # replace with your solution
```
</details>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions