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 A077722 #12 Feb 22 2022 08:52:45 %S A077722 73,521,577,4673,32833,33289,33353,36929,37441,262153,262217,262657, %T A077722 295433,299017,299521,2097673,2101249,2101313,2134529,2359369,2359873, %U A077722 2363393,2363401,2392073,16777289,16777729,16810049,16810561,16814089 %N A077722 Primes which can be expressed as sums of distinct powers of 8. %C A077722 Primes whose base 8 representations contain only 0's and 1's. %C A077722 Intersection of A000040 and A033045. - _Michel Marcus_, Sep 14 2013 %H A077722 Charles R Greathouse IV, <a href="/A077722/b077722.txt">Table of n, a(n) for n = 1..10000</a> %o A077722 (PARI) isok(n) = {digs = digits(n, 8); for (i = 1, #digs, if (digs[i] > 1, return (0));); return (1);} %o A077722 lista(nn) = {forprime (p=1, nn, if (isok(p), print1(p, ", ");););} \\ _Michel Marcus_, Sep 14 2013 %o A077722 (PARI) forstep(n=7,999,2,t=fromdigits(binary(n),8); if(isprime(t), print1(t", "))) \\ _Charles R Greathouse IV_, Jun 08 2015 %Y A077722 Cf. A020449, A000695, A033045, A077717, A077718, A077719, A077720, A077721, A077723. %K A077722 nonn %O A077722 1,1 %A A077722 _Amarnath Murthy_, Nov 19 2002 %E A077722 More terms from Francois Jooste (phukraut(AT)hotmail.com), Dec 23 2002