• 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
Element118 Avatar
Name:Unknown
Clan:Unknown
Member Since:Jan 2017
Last Seen:Dec 2022
Profiles:
    Following:1
    Followers:2
    Allies:1
    View Profile Badges
    Ad
    Would You Pass the Google SQL Interview? Test Yourself with These 7 Concepts
    Study up for your next SQL interview with these interview questions.
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations
    • Replies (1)
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • AcesOfGlory
      • commented on "Sum of Digits / Digital Root" kata
      • 8 years ago

      0 is a debated natural number and can be a member of the natural number set depending on which set you are using. See here http://oeis.org/A000027.

      N = {0, 1, 2, 3, ...}         - nonnegative integers
      
      N = (1, 2, 3, 4, ...}         - positive integers
      

      However, I agree with you on the fact it should state that it is including 0 as a natural number.

    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...