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!)
A207674 Numbers such that all divisors occur in their Collatz trajectories. 4
1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 16, 17, 19, 20, 22, 23, 24, 25, 26, 28, 29, 31, 32, 34, 37, 38, 40, 41, 43, 44, 46, 47, 48, 49, 50, 52, 53, 56, 58, 59, 61, 62, 64, 65, 67, 68, 71, 73, 74, 76, 79, 80, 82, 83, 86, 88, 89, 92, 94, 97, 98, 100, 101 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Eric Weisstein's World of Mathematics, Collatz Problem
MATHEMATICA
coll[n_]:=NestWhileList[If[EvenQ[#], #/2, 3#+1]&, n, #>1&]; Select[Range[101], Complement[Divisors[#], coll[#]]=={}&] (* Jayanta Basu, May 27 2013 *)
PROG
(Haskell)
import Data.List (intersect)
a207674 n = a207674_list !! (n-1)
a207674_list = filter
(\x -> a027750_row x `intersect` a070165_row x == a027750_row x) [1..]
CROSSREFS
Cf. A027750, A070165, A006370, A207675 (complement), A000079 and A000040 are subsequences.
Sequence in context: A331914 A324935 A328369 * A162722 A123345 A093641
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Feb 20 2012
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 20 02:14 EDT 2024. Contains 371798 sequences. (Running on oeis4.)