def icosahedron_nodes_calculator(order):
    """Calculate the number of nodes
    corresponding to the order of an icosahedron graph

    Args:
        order (int): order of an icosahedron graph

    Returns:
        int: number of nodes in icosahedron sampling for that order
    """
    nodes = 10 * (4 ** order) + 2
    return nodes