Title: New puzzle: lucky numbers inspired by codeforces 122A · Issue #10 · microsoft/PythonProgrammingPuzzles · GitHub
Open Graph Title: New puzzle: lucky numbers inspired by codeforces 122A · Issue #10 · microsoft/PythonProgrammingPuzzles
X Title: New puzzle: lucky numbers inspired by codeforces 122A · Issue #10 · microsoft/PythonProgrammingPuzzles
Description: def sat(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) """ return n % d == 0 and se...
Open Graph Description: def sat(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/pro...
X Description: def sat(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://codefo...
Opengraph URL: https://github.com/microsoft/PythonProgrammingPuzzles/issues/10
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"New puzzle: lucky numbers inspired by codeforces 122A","articleBody":"```python\r\ndef sat(d: int, n=6002685529):\r\n \"\"\"\r\n Find a integer factor of n whose decimal representation consists only of 7's and 4's.\r\n\r\n Inspired by [Codeforces Problem 122 A](https://codeforces.com/problemset/problem/122/A)\r\n \"\"\"\r\n return n % d == 0 and set(str(d)) \u003c= {\"4\", \"7\"}\r\n```\r\n\r\nSolvers, post your solutions in the comments using the following formatting:\r\n````\r\n\u003cdetails\u003e\u003csummary\u003eReveal solution\u003c/summary\u003e\r\n\r\n```python\r\ndef sol():\r\n return \"world\" # replace with your solution\r\n```\r\n\u003c/details\u003e\r\n````\r\n","author":{"url":"https://github.com/akalai","@type":"Person","name":"akalai"},"datePublished":"2021-06-21T12:00:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/10/PythonProgrammingPuzzles/issues/10"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:aeab11ae-0d1e-a7d2-2767-02aa10d8d90e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ACD2:23A018:A37AF5:E0FD00:696F2DF7 |
| html-safe-nonce | 72b8920815d362e36bf27ce03c22fc6a0f071e07b003e30aa037e55141f6d63b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0QyOjIzQTAxODpBMzdBRjU6RTBGRDAwOjY5NkYyREY3IiwidmlzaXRvcl9pZCI6IjEwMDIyMTQ1ODcxNzc1Nzc5NzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 219cf8e59c8d660cd15e29685c31b03d942351ab220f6346f83ca01fdba1b7d3 |
| hovercard-subject-tag | issue:926142298 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/PythonProgrammingPuzzles/10/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a9ba11e961df9e81fa55b753fa77e7ff140d20d04d1fc23217465d6cc4b6b31d/microsoft/PythonProgrammingPuzzles/issues/10 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a9ba11e961df9e81fa55b753fa77e7ff140d20d04d1fc23217465d6cc4b6b31d/microsoft/PythonProgrammingPuzzles/issues/10 |
| og:image:alt | def sat(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/pro... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | akalai |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/PythonProgrammingPuzzles git https://github.com/microsoft/PythonProgrammingPuzzles.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 361538358 |
| octolytics-dimension-repository_nwo | microsoft/PythonProgrammingPuzzles |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 361538358 |
| octolytics-dimension-repository_network_root_nwo | microsoft/PythonProgrammingPuzzles |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width