Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Readme.md

Problem

Write a function which prints first num1 terms of the series 3n+2 which are not multiples of num2. 

Take Input

Number 1(num1)
Number 2(num2) 
0 < num1 < 100 & 0 < num2 < 100  

Sample Input

num1 = 10;
num2 = 4;

Sample Output

5
11
14
17
23
26
29
35
38
41