• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
amekh2 Avatar
Name:Unknown
Clan:Unknown
Member Since:Mar 2017
Last Seen:Nov 2022
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (40)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • ahmet_popaj
      • commented on "Arithmetic Progression of Primes" kata
      • 11 months ago

      Nice coding challenge of the series as well, it takes a while to figure this one out.

    • Custom User Avatar
      • ejini战神
      • created an issue for "Arithmetic Progression of Primes" kata
      • 2 years ago

      Python new test framework should be used

    • Custom User Avatar
      • ejini战神
      • created an issue for "Arithmetic Progression of Primes" kata
      • 2 years ago

      Range of inputs should be specified

    • Custom User Avatar
      • anter69
      • resolved an issue on "Arithmetic Progression of Primes" kata
      • 4 years ago

      updated

    • Custom User Avatar
      • user9644768
      • created an issue for "Arithmetic Progression of Primes" kata
      • 4 years ago

      Ruby 3.0 should be enabled, see this to learn how to do it

    • Custom User Avatar
      • anter69
      • resolved an issue on "Arithmetic Progression of Primes" kata
      • 7 years ago

      Fixed

    • Custom User Avatar
      • Voile
      • created an issue for "Arithmetic Progression of Primes" kata
      • 7 years ago

      Ruby random tests are raising errors by itself:

      main.rb:21:in `s0lver': private method `select' called for nil:NilClass (NoMethodError)
      	from main.rb:51:in `block (2 levels) in <main>'
      	from main.rb:46:in `times'
      	from main.rb:46:in `block in <main>'
      	from /runner/frameworks/ruby/cw-2.rb:55:in `block in describe'
      	from /runner/frameworks/ruby/cw-2.rb:46:in `measure'
      	from /runner/frameworks/ruby/cw-2.rb:51:in `describe'
      	from main.rb:17:in `<main>'
      
    • Custom User Avatar
      • lechevalier
      • commented on "Arithmetic Progression of Primes" kata
      • 7 years ago

      Well..

      Your solutions should be returned as lists inside a list in ascending order of the first item.

      What if two sequences have the same first element?

    • Custom User Avatar
      • amekh2
      • commented on "Arithmetic Progression of Primes" kata
      • 7 years ago

      The description says 'all possible', so return all in ascending order.

    • Custom User Avatar
      • lechevalier
      • created a question for "Arithmetic Progression of Primes" kata
      • 7 years ago

      What if 2 arithmetic progression have the same start? Should we return only the first or both? And in which order?
      I have seen nothing in description about this.

    • Custom User Avatar
      • KevyD
      • commented on "Arithmetic Progression of Primes" kata
      • 7 years ago

      Thank you for the heads up :-)

    • Custom User Avatar
      • anter69
      • resolved a suggestion on "Arithmetic Progression of Primes" kata
      • 7 years ago

      Thanks for the approval

    • Custom User Avatar
      • anter69
      • resolved a question on "Arithmetic Progression of Primes" kata
      • 7 years ago

      There are 95 random tests, and that should fit well in the time limit. Check your algorithm

    • Custom User Avatar
      • KevyD
      • created a question for "Arithmetic Progression of Primes" kata
      • 7 years ago

      Just a quick question - how many 'random' tests are there? I've up to 33 tests passed only for the overall to fail due it breaching the 12s boundary. Now this is my first python code snippet, but I figure if the algorithm works well enough to pass all the tests it reaches, maybe something needs to be added to the description covering the time requirements? Or is it possible that I'm getting too many random tests?

      Cheers
      Kevin

    • Custom User Avatar
      • anter69
      • created a suggestion for "Arithmetic Progression of Primes" kata
      • 7 years ago

      Ruby tanslation kumited -- please check and approve

    • Loading more items...
    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...