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!)
A221213 Conjectured total number of times that k-n appears in the Collatz (3x+1) sequence of k for k = 1, 2, 3,.... 4
42, 42, 57, 52, 46, 53, 58, 57, 54, 49, 56, 59, 49, 62, 61, 59, 69, 59, 50, 54, 72, 64, 65, 55, 57, 54, 55, 66, 61, 60, 62, 61, 64, 73, 62, 59, 71, 63, 62, 58, 68, 72, 63, 59, 57, 65, 70, 59, 60, 59, 71, 55, 64, 54, 66, 75, 67, 62, 64, 64, 73, 68, 68, 67, 58, 61 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Values are tested for natural numbers up to 1000000.
REFERENCES
R. K. Guy, Unsolved Problems in Number Theory, E16.
LINKS
EXAMPLE
a(1) = 42 = total number of k such that k-1 appears in the Collatz sequence of k, that is, the number of terms in A070991.
MATHEMATICA
Collatz[n_] := NestWhileList[If[EvenQ[#], #/2, 3 # + 1] &, n, # > 1 &]; nn = 75; t = Table[0, {nn}]; lastChange = 10; k = 0; While[k < 2*lastChange, k++; c = Collatz[k]; d = Intersection[Range[nn], k - c]; If[Length[d] > 0, lastChange = k; t[[d]]++]]; t (* T. D. Noe, Feb 21 2013 *)
CROSSREFS
Sequence in context: A331483 A342151 A070723 * A165863 A008941 A133897
KEYWORD
nonn
AUTHOR
Jayanta Basu, Feb 21 2013
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 April 18 15:44 EDT 2024. Contains 371780 sequences. (Running on oeis4.)