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.

A182799 Positions of primes in A167171.

This page as a plain text file.
%I A182799 #11 May 15 2017 16:05:44
%S A182799 1,2,3,5,7,8,11,12,15,17,18,22,25,26,28,30,34,35,38,40,41,44,46,50,55,
%T A182799 56,57,59,60,62,68,70,73,74,80,81,83,87,89,90,93,94,98,99,101,102,109,
%U A182799 117,119,120,121,124,125,128,131,134,137,138,140,142
%N A182799 Positions of primes in A167171.
%C A182799 Complement of A182800.
%e A182799 A167171=(2,3,5,6,7,10,11,13,14,15,17,19,21,22,23,...)  consists of primes and products p*q of distinct primes.
%e A182799 a(1)=1 because 2 is in position 1;
%e A182799 a(4)=5 because 7 is in position 5.
%o A182799 (PARI) lista(nn) = {nb = 0; for (n=1, nn, if (numdiv(n) == 2*omega(n), nb++; if (isprime(n), print1(nb, ", "));););} \\ _Michel Marcus_, May 15 2017
%Y A182799 Cf. A000040, A167171, A182800.
%K A182799 nonn
%O A182799 1,2
%A A182799 _Clark Kimberling_, Dec 03 2010