Tap here to switch tabs
Problem
Submissions

Problem: Simplified Fractions

med
30 min
Try to solve the Simplified Fractions problem.

Statement

Given an integer n, return a list of all simplified fractions between 00 and 11 exclusive such that the denominator is less than or equal to n.

A fraction is considered simplified if its numerator and denominator have a greatest common divisor equal to 11. The fractions can be returned in any order.

Constraints:

  • 1≤1 \leq n ≤100\leq 100

⋮
Tap here to switch tabs
Problem
Submissions

Problem: Simplified Fractions

med
30 min
Try to solve the Simplified Fractions problem.

Statement

Given an integer n, return a list of all simplified fractions between 00 and 11 exclusive such that the denominator is less than or equal to n.

A fraction is considered simplified if its numerator and denominator have a greatest common divisor equal to 11. The fractions can be returned in any order.

Constraints:

  • 1≤1 \leq n ≤100\leq 100