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.
%I A071864 #10 Aug 30 2019 04:16:55 %S A071864 1,4,9,14,15,21,25,49,51,55,57,63,95,98,99,115,116,121,147,161,169, %T A071864 172,175,188,195,203,236,244,245,247,265,284,287,289,297,299,322,328, %U A071864 329,351,356,361,363,370,371,374,387,406,412,413,418,423,425,437,465,488 %N A071864 Nonprime n such that the number of elements in the continued fraction for Sum_{d|n} 1/d equals tau(n), the number of divisors of n. %C A071864 If p is prime p^2 is in the sequence since the continued fraction for Sum_{d|n} 1/d is [1, p-1, p+1] and there are 3 divisors for p^2. %H A071864 Amiram Eldar, <a href="/A071864/b071864.txt">Table of n, a(n) for n = 1..10000</a> %t A071864 aQ[n_] := ! PrimeQ[n] && Length@ContinuedFraction[DivisorSigma[1, n]/n] == DivisorSigma[0, n]; Select[Range[488], aQ] (* _Amiram Eldar_, Aug 30 2019 *) %o A071864 (PARI) for(n=1,1000,if(length(contfrac(sumdiv(n,d,1/d)))==numdiv(n)*(1-isprime(n)),print1(n,","))) %Y A071864 Cf. A000005, A017665, A017666, A071862. %K A071864 easy,nonn %O A071864 1,2 %A A071864 _Benoit Cloitre_, Jun 09 2002