A058047 Generalized Collatz sequences: primes resulting in a cycle containing 1.
3, 5, 7, 29, 41, 79
Offset: 0
Examples
a(4) > 11, e.g.: 17, 17*11 + 1 = 188, 188/(2*2) = 47, 47*11 + 1 = 518, 518/(2*7) = 37, 37*11 + 1 = 408, 408/(2*2*2*3) = 17 (cycle without 1). For p = 29 e.g.: 17, 17*29 + 1 = 494, 494/(2*13*19) = 1, 1*29 + 1 = 30, 30/30 = 1 (cycle with 1), no counterexample below 10000000.
Links
- Sean A. Irvine, Java program in the jOEIS project.
- Randall L. Rathbun, Discussion of this sequence
- Carlos Rivera, Puzzle 114. The Murad's generalization of the Collatz's sequences, The Prime Puzzles & Problems Connection.
- Eric Weisstein's World of Mathematics, Collatz problem
Programs
-
Java
Cf. link to the program in the jOEIS project.
Extensions
Edited by Frank Ellermann, Jan 20 2002
Comments