Skip to content

Comments

Add K-th Not Divisible By N#519

Open
OluwaseyiPopoola wants to merge 1 commit intoOpen-Source-you:mainfrom
OluwaseyiPopoola:k-th_not_divisible_by_n
Open

Add K-th Not Divisible By N#519
OluwaseyiPopoola wants to merge 1 commit intoOpen-Source-you:mainfrom
OluwaseyiPopoola:k-th_not_divisible_by_n

Conversation

@OluwaseyiPopoola
Copy link
Contributor

This programs the kth value not divisible by n

For example
n = 3 and k = 7
Values not divisible by 3: 1, 2, 4, 5, 7, 8, 10, 11, 13 ...
The 7th value is 10
Output = 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants