Retired

Guess the integer #1 (retired)

Description:

Make a function called "pattern" that takes two integers as input and returns another integer.

pattern(50, 13) = 4075

pattern(50, 10) = 509

pattern(50, 7)  = 63

pattern(50, 4)  = 7

pattern(50, 1)  = 0
Mathematics
Puzzles

More By Author:

Check out these other kata created by Beast

Stats:

CreatedSep 18, 2017
Warriors Trained104
Total Skips0
Total Code Submissions710
Total Times Completed12
Python Completions12
Total Stars4
% of votes with a positive feedback rating20% of 5
Total "Very Satisfied" Votes1
Total "Somewhat Satisfied" Votes0
Total "Not Satisfied" Votes4
Total Rank Assessments4
Average Assessed Rank
6 kyu
Highest Assessed Rank
5 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • Beast Avatar
Ad