The generalized Tur'{a}n number of long cycles in graphs and bipartite graphs — arXiv2