{"id":43881531,"url":"https://github.com/codereport/arithmetic-progression","last_synced_at":"2026-02-06T15:29:22.313Z","repository":{"id":331126921,"uuid":"1125362278","full_name":"codereport/arithmetic-progression","owner":"codereport","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-09T13:46:18.000Z","size":20,"stargazers_count":4,"open_issues_count":2,"forks_count":4,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-30T21:14:50.032Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codereport.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-30T15:38:49.000Z","updated_at":"2026-01-09T13:46:21.000Z","dependencies_parsed_at":"2026-01-03T23:04:38.460Z","dependency_job_id":null,"html_url":"https://github.com/codereport/arithmetic-progression","commit_stats":null,"previous_names":["codereport/arithmetic-progression"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codereport/arithmetic-progression","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codereport%2Farithmetic-progression","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codereport%2Farithmetic-progression/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codereport%2Farithmetic-progression/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codereport%2Farithmetic-progression/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codereport","download_url":"https://codeload.github.com/codereport/arithmetic-progression/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codereport%2Farithmetic-progression/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29166434,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T14:37:12.680Z","status":"ssl_error","status_checked_at":"2026-02-06T14:36:22.973Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-06T15:29:21.580Z","updated_at":"2026-02-06T15:29:22.307Z","avatar_url":"https://github.com/codereport.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repo contains solutions to the Arithmetic Progression problem. It was coverd in this YouTube video (coming). It can be found:\n\n* LeetCode: [Problem 1502](https://leetcode.com/problems/can-make-arithmetic-progression-from-sequence/description/)\n* Perl Weekly Challenge: [Week 351, Problem 2](https://theweeklychallenge.org/blog/perl-weekly-challenge-351/)\n\nIt can be solved trivially if you have three algorithms:\n\n* sort\n* [deltas](https://hoogletranslate.com/?q=5\u0026type=by-algo-id\u0026expr=true\u0026libs=true) or [map_adjacent](https://hoogletranslate.com/?q=5\u0026type=by-algo-id)\n* [all_equal](https://hoogletranslate.com/?q=51\u0026type=by-algo-id\u0026expr=true\u0026libs=true)\n\n### Array Language Solutions\n\n|  Language  |       Solution       |\n| :--------: | :------------------: |\n|   Jelly    |        `ṢIE`         |\n|    Uiua    |      `/↧⧈=⧈-⍆`       |\n|    Uiua    |      `=1⧻◴⧈-⍆`       |\n|    Kap     |      `1=≢∪2-/∧`      |\n|    Kap     |     `∧/2=/2-/∧`      |\n| Dyalog APL |   `∧/2=/2-/⊂⍤⍋⍛⌷`    |\n|    BQN     |   `1=·≠∘⍷·-´˘2↕∧`    |\n| Dyalog APL |  `1=(≢∘∪2-/⊂⍤⍋⍛⌷)`   |\n|    BQN     |  `∧´·=´˘2↕·-´˘2↕∧`   |\n|     J      |  `1=[:#[:~.2-/\\/:~`  |\n|   Jello    | `sort deltas all_eq` |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodereport%2Farithmetic-progression","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodereport%2Farithmetic-progression","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodereport%2Farithmetic-progression/lists"}