The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A258826 Numbers n such that k iterations of n under the modified Collatz function yield k for some k. 0
2, 6, 7, 8, 17, 20, 21, 22, 23, 24, 36, 37, 38, 43, 48, 52, 53, 64, 68, 69, 70, 75, 86, 87, 89, 97, 98, 99, 105, 111, 112, 116, 117, 120, 122, 130, 131, 132, 133, 134, 137, 160, 169, 192, 208, 212, 213, 226, 227, 242, 243, 260, 261, 262, 264, 266, 268, 269, 273, 288, 290, 291, 292, 293, 294, 296, 298, 299, 305 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Numbers n such that A258825(n) > 0.
LINKS
EXAMPLE
For n = 5, the Collatz function does the following: 5 -> 8 -> 4 -> 2 -> 1. Here, for k = 1, 2, 3, 4, applying k iterations to 5 does not yield k. So 5 is not a member of this sequence.
For n = 6, the Collatz function does the following: 6 -> 3 -> 5 -> 8 -> 4 -> 2 -> 1. After the 4th iteration, you arrive at 4. So 6 is a member of this sequence.
PROG
(PARI) Tvect(n)=v=[n]; while(n!=1, if(n%2, k=(3*n+1)/2; v=concat(v, k); n=k); if(!(n%2), k=n/2; v=concat(v, k); n=k)); v
n=1; while(n<10^3, d=Tvect(n); c=0; for(i=1, #d, if(d[i]==i-1, print1(n, ", "); break)); n++)
CROSSREFS
Sequence in context: A063291 A088225 A165775 * A157671 A196747 A261691
KEYWORD
nonn
AUTHOR
Derek Orr, Jun 11 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 13 02:15 EDT 2024. Contains 372497 sequences. (Running on oeis4.)