import math
import random


def randint_sample(min, max, size):
    """ Generate sample of random integers number inclusively """
    width = max - min + 1
    return [math.floor(random.random() * width + min) for _ in range(size)]