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.

A385110 Terms of A198587 congruent {1, 3, 7} (mod 8).

This page as a plain text file.
%I A385110 #20 Jun 26 2025 07:33:00
%S A385110 17,35,75,151,1137,2275,2417,4835,4849,9699,19417,38833,38835,72817,
%T A385110 77667,145635,154737,309475,310385,620771,621377,1242737,1242755,
%U A385110 2485361,2485475,4660337,4970723,4971025,9320675,9903217,9942051,19806435,19864689,19884107,39729379
%N A385110 Terms of A198587 congruent {1, 3, 7} (mod 8).
%C A385110 Sorted set of all A385109(A198587(i)), i>0.
%o A385110 (PARI) N=3;for(n=1, 1000000, s=n; t=0; while(s!=1, if(s%2==0, s=s/2, s=(3*s+1)/2; t++); if(s==1&&t==N&&(n%8==1||n%8==3||n%8==7), print1(n,", ") ); ))
%Y A385110 Cf. A198587, A385109.
%K A385110 nonn
%O A385110 1,1
%A A385110 _Ralf Stephan_, Jun 18 2025
%E A385110 a(22)-a(31) from _Michel Marcus_, Jun 19 2025
%E A385110 a(32)-a(35) added using A198587 by _Jinyuan Wang_, Jun 26 2025