def cubocta_edges(f: int) -> int: 
    """
    Number of contact points between equal spheres 
    arranged in a cuboctahedron with f i.e. n-1 
    intervals between balls along in each edge.
    """
    x = f+1 
    return 20*x**3 - 48*x**2 + 40*x - 12