A219962 Records in A219961.
314, 335, 337, 535, 539, 615, 666
Offset: 1
Extensions
More terms from Carl R. White, Dec 05 2012
This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
1702 is in this list as 38 iterations return to 1702. Many other numbers reach this loop. 5832 is also in this list and is the smallest member of a different loop. 1703 is _not_ in this list because the iteration runs: 1703 -> 2562 -> 1989 -> 1620 -> 2501 -> 5100 -> 6048 -> 2808 -> 53 -> 88 -> 120 -> 11 -> 20 -> 25 -> 0.
f[n_] := Ceiling[Sqrt[n]]*(Ceiling[Sqrt[n]]^2 - n); Select[Range[5000], NestWhileList[f, #, UnsameQ, All][[-1]] > 0 &] (* T. D. Noe, Dec 04 2012 *)
Comments