Wikipedia:Reference desk/Archives/Mathematics/2024 July 21

Mathematics desk
< July 20 << Jun | July | Aug >> July 22 >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


July 21

edit

If the sum of the first m factorial numbers is equal to the sum of the first n positive integers

edit

If the sum of the first m factorial numbers is equal to the sum of the first n positive integers, i.e. 1! + 2! + 3! + … + m! = 1 + 2 + 3 + … + n, then (m,n) = (0,0), (1,1), (2,2), (5,17), right? 220.132.216.52 (talk) 20:30, 21 July 2024 (UTC)[reply]

The triangular numbers, modulo 19, are reduced to one of 10 possibilities: 0, 1, 2, 3, 6, 7, 9, 10, 15 and 17. The sum 1! + 2! + 3! + ... + m!, for m > 17, modulo 19, is reduced to 8. Therefore no further factorial sums are triangular.  --Lambiam 22:19, 21 July 2024 (UTC)[reply]
I looked at mod 7 with about the same result. The left hand side is 5 for m≥6 and the right hand side can never be 5. So you only have to check m from 1 to 5. (Btw, I would count 0! = 1 as a factorial number, so the sums of factorials would be 1, 2, 4, 10, 34, ... . (sequence A003422 in the OEIS)) --RDBury (talk) 22:28, 21 July 2024 (UTC)[reply]
Wrote up a quick MATLAB script to find numbers which can be used as modulos to show that the list is finite, it starts:  . Obviously if a number appears in the list then all its positive multiples do too. The list of nontrivial numbers starts   GalacticShoe (talk) 03:01, 22 July 2024 (UTC)[reply]
Submit to OEIS! —Tamfang (talk) 20:31, 28 July 2024 (UTC)[reply]
Have you submitted this sequence to OEIS? 220.132.216.52 (talk) 12:28, 2 August 2024 (UTC)[reply]
I like that idea, although I feel that I should probably collect more information about the sequence before I do. GalacticShoe (talk) 16:08, 2 August 2024 (UTC)[reply]