cp's OEIS Frontend

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.

A217744 Numbers whose Collatz trajectory contains equal number of terms of the form 4k+1 and 4k+3.

This page as a plain text file.
%I A217744 #10 Mar 25 2013 14:21:30
%S A217744 15,30,60,120,151,239,240,255,302,377,423,425,478,479,480,510,593,604,
%T A217744 669,685,743,754,755,846,847,850,851,939,956,958,960,1020,1053,1057,
%U A217744 1186,1191,1208,1297,1321,1338,1341,1370,1375,1473,1486,1487,1508,1509,1510
%N A217744 Numbers whose Collatz trajectory contains equal number of terms of the form 4k+1 and 4k+3.
%H A217744 T. D. Noe, <a href="/A217744/b217744.txt">Table of n, a(n) for n = 1..10000</a>
%t A217744 Collatz[n_] :=NestWhileList[If[EvenQ[#], #/2, 3*# + 1] &, n, # > 1 &]; t = {}; Do[If[Length[Select[Collatz[n], Mod[#, 4] == 1 &]] -Length[Select[Collatz[n], Mod[#, 4] == 3 &]] == 0, AppendTo[t, n]], {n, 1500}]; t
%Y A217744 Cf. A070165, A192719, A217743.
%K A217744 nonn
%O A217744 1,1
%A A217744 _Jayanta Basu_, Mar 23 2013