Counting Cycles with Deepseek
Authors:
- Jiashun JinJJJiashun Jin
- Tracy KeTKTracy Ke
- Bingcheng SuiBSBingcheng Sui
- Zhenggang WangZWZhenggang Wang
Preprint
Abstract
Despite recent progress, AI still struggles on advanced mathematics. We consider a difficult open problem: How to derive a Computationally Efficient Equivalent Form (CEEF) for the cycle count statistic? The CEEF problem does not have known general solutions, and requires delicate combinatorics and tedious calculations. Such a task is hard to accomplish by humans but is an ideal example where AI can be very helpful. We solve the problem by combining a novel approach we propose and the powerful coding skills of AI. Our results use delicate graph theory and contain new formulas for general cases that have not been discovered before. We find that, while AI is unable to solve the problem all by itself, it is able to solve it if we provide it with a clear strategy, a step-by-step guidance and carefully written prompts. For simplicity, we focus our study on DeepSeek-R1 but we also investigate other AI approaches.Keywords
All Related Versions
This publication has 5 references indexed in Scilit:
- Network Goodness-of-Fit for the Block-Model FamilyJournal of the American Statistical Association, 2025
- A neural network solves, explains, and generates university math problems by program synthesis and few-shot learning at human levelProceedings of the National Academy of Sciences of the United States of America, 2022
- Optimal Estimation of the Number of Network CommunitiesJournal of the American Statistical Association, 2022
- Optimal adaptivity of signed-polygon statistics for network testingThe Annals of Statistics, 2021
- Advancing mathematics by guiding human intuition with AINature, 2021