Welcome To Tutorialspoint.dev
Officially launched 18th May 2019

# Longest Arithmetic Progression DP-35

Given a set of numbers, find the Length of the Longest Arithmetic Progression (LLAP) in it. Examples: set[] = {1, 7, 10, 15, 27, 29} output = 3 The longest arithmet...

# PHP program to print an arithmetic progression series using inbuilt functions

We have to print an arithmetic progressive series in PHP, between two given numbers a and b both including, with a given common arithmetic difference of d. Examples:...

# Find the missing number in Arithmetic Progression

Given an array that represents elements of arithmetic progression in order. One element is missing in the progression, find the missing number. Examples: Input: arr...

# Count of AP (Arithmetic Progression) Subsequences in an array

Given an array of n positive integers. The task is to count the number of Arithmetic Progression subsequence in the array. Note: Empty sequence or single element sequ...

# Longest Arithmetic Progression DP-35

Given a set of numbers, find the Length of the Longest Arithmetic Progression (LLAP) in it. Examples: set[] = {1, 7, 10, 15, 27, 29} output = 3 The longest arithmet...

# Longest Geometric Progression

Given a set of numbers, find the Length of the Longest Geometrix Progression (LLGP) in it. The common ratio of GP must be an integer. Examples: set[] = {5, 7, 10, 15...

# Check whether Arithmetic Progression can be formed from the given array

Given an array of n integers. The task is to check whether an arithmetic progression can be formed using all the given elements. If possible print &#x201C;Yes&#x201D;...