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.

A093008 Smallest number of 1's to append to the binary representation of n such that primes become nonprimes and nonprimes become primes.

This page as a plain text file.
%I A093008 #5 Mar 30 2012 18:50:43
%S A093008 1,5,2,2,4,1,1,1,1,2,3,3,1,1,1,2,1,1,1,1,1,4,2,3,2,1,3,4,2,1,1,2,1,2,
%T A093008 1,1,1,3,1,2,3,7,1,1,3,4,1,1,2,1,1,2,2,1,2,1,3,12,1,3,1,2,1,4,1,5,1,1,
%U A093008 1,2,1,7,1,1,1,2,2,1,1,3,1,2,2,5,6,1,23,4,6,1,2,3,3,2,1,1,1,1,1,10
%N A093008 Smallest number of 1's to append to the binary representation of n such that primes become nonprimes and nonprimes become primes.
%C A093008 n>1: a(n) = A063377(n) + A040081(n+1).
%Y A093008 Cf. A093009.
%K A093008 nonn
%O A093008 1,2
%A A093008 _Reinhard Zumkeller_, Mar 14 2004