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 A163293 #14 Dec 18 2016 01:35:48 %S A163293 0,1,2,4,7,9,12,14,18,24,26,31,35,37,41,47,53,55,60,64,66,72,76,82,90, %T A163293 94,96,100,102,106,120,123,129,131,141,143,149,155,159,165,171,173, %U A163293 183,185,189,191,203,215,219,221,225,231,233,243,248,254,260,262,268,272 %N A163293 a(n) = n-th prime minus (number of bits in binary expansion of n-th prime). %C A163293 Number of bits in binary expansion of n-th prime = A035100. %H A163293 G. C. Greubel, <a href="/A163293/b163293.txt">Table of n, a(n) for n = 1..1000</a> %F A163293 a(n) = A000040(n) - A035100(n). %e A163293 a(6) = 13 - 4 = 9; %e A163293 a(7) = 17 - 5 = 12. %p A163293 A000040 := proc(n) ithprime(n) ; end: A035100 := proc(n) max(1,ilog2(A000040(n))+1) ; end: A163293 := proc(n) A000040(n)-A035100(n) ; end: seq(A163293(n),n=1..100) ; # _R. J. Mathar_, Jul 26 2009 %t A163293 Table[Prime[n] - Length[IntegerDigits[Prime[n], 2]], {n, 100}] (* _G. C. Greubel_, Dec 17 2016 *) %o A163293 (PARI) for(n=1,60, p=prime(n); print1(p-#binary(p),", ")) \\ _Washington Bomfim_ Jan 18 2011 %Y A163293 Cf. A000040, A035100. %K A163293 nonn,base,easy %O A163293 1,3 %A A163293 _Juri-Stepan Gerasimov_, Jul 24 2009