PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Coding & Algorithms/Mavensecurities

Compute probability of random arithmetic progression triple

Last updated: Mar 29, 2026

Quick Overview

This question evaluates combinatorics and probability skills, specifically counting combinations and recognizing arithmetic progression structure among distinct integers, and belongs to the Coding & Algorithms category for Data Scientist roles.

  • medium
  • Mavensecurities
  • Coding & Algorithms
  • Data Scientist

Compute probability of random arithmetic progression triple

Company: Mavensecurities

Role: Data Scientist

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Take-home Project

You have the integers from 1 to 30 inclusive. You randomly choose 3 **distinct** numbers **without replacement**, and all 3-element subsets are equally likely. The order in which the numbers are drawn does **not** matter. What is the probability that these three numbers can be arranged to form an arithmetic progression (three distinct terms with a common difference)? Express your answer as a simplified fraction or decimal.

Quick Answer: This question evaluates combinatorics and probability skills, specifically counting combinations and recognizing arithmetic progression structure among distinct integers, and belongs to the Coding & Algorithms category for Data Scientist roles.

Mavensecurities logo
Mavensecurities
Nov 20, 2025, 12:00 AM
Data Scientist
Take-home Project
Coding & Algorithms
0
0

You have the integers from 1 to 30 inclusive.

You randomly choose 3 distinct numbers without replacement, and all 3-element subsets are equally likely. The order in which the numbers are drawn does not matter.

What is the probability that these three numbers can be arranged to form an arithmetic progression (three distinct terms with a common difference)? Express your answer as a simplified fraction or decimal.

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More Coding & Algorithms•More Mavensecurities•More Data Scientist•Mavensecurities Data Scientist•Mavensecurities Coding & Algorithms•Data Scientist Coding & Algorithms
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.