Talk:Deceptive numbers: Difference between revisions

From Rosetta Code
Content added Content deleted
(5 can not be a factor of n)
 
No edit summary
Line 1: Line 1:
Since the repunit ends in 1 5 can not be a factor of n--[[User:Nigel Galloway|Nigel Galloway]] ([[User talk:Nigel Galloway|talk]]) 11:44, 12 February 2022 (UTC)
Since the repunit ends in 1 5 can not be a factor of n--[[User:Nigel Galloway|Nigel Galloway]] ([[User talk:Nigel Galloway|talk]]) 11:44, 12 February 2022 (UTC)

Since the repunit is odd, 2 cannot be a factor of n. And because the digit sum of the repunit is n - 1, 3 cannot be factor of n. --[[User:Querfeld|Querfeld]] ([[User talk:Querfeld|talk]]) 10:01, 17 September 2023 (UTC)

Revision as of 10:02, 17 September 2023

Since the repunit ends in 1 5 can not be a factor of n--Nigel Galloway (talk) 11:44, 12 February 2022 (UTC)

Since the repunit is odd, 2 cannot be a factor of n. And because the digit sum of the repunit is n - 1, 3 cannot be factor of n. --Querfeld (talk) 10:01, 17 September 2023 (UTC)