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.

A178043 n-th semiprime minus number of distinct transpositions of digits (zeros and units) in n-th semiprime written in base 2.

Original entry on oeis.org

1, 3, 3, 4, 10, 14, 11, 12, 15, 16, 18, 19, 15, 18, 24, 31, 29, 36, 49, 42, 43, 56, 44, 34, 39, 42, 47, 50, 51, 66, 70, 72, 73, 88, 71, 104, 94, 97, 112, 100, 101, 116, 101, 77, 78, 71, 72, 87, 89, 90, 99, 102, 131, 105, 96, 99, 107, 108, 155, 129, 159, 138, 131, 132, 147
Offset: 1

Views

Author

Juri-Stepan Gerasimov, May 17 2010

Keywords

Crossrefs

Programs

  • Mathematica
    #-Length[Permutations[IntegerDigits[#,2]]]&/@Select[Range[ 2,300], PrimeOmega[ #] == 2&] (* Harvey P. Dale, Jun 21 2014 *)

Formula

a(n)=s-binomial((A000120(s)+A023416(s)), A000120(s)), where s=semiprime(n).

Extensions

More terms from R. J. Mathar, May 28 2010