login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

a(n)-th prime is the smallest prime containing exactly n 1's.
1

%I #13 Apr 03 2023 10:36:09

%S 1,6,5,187,1242,9682,86538,733339,5821735,56196114,503193257,

%T 4161915701,41621368333,383118399789

%N a(n)-th prime is the smallest prime containing exactly n 1's.

%H Andrew R. Booker, <a href="https://t5k.org/nthprime/">The Nth Prime Page</a>

%t (* see A037055 for f *) PrimePi[ Table[ f[n, 1], {n, 1, 13}]]

%Y Cf. A037055, A034388.

%K nonn,base,hard

%O 0,2

%A _Patrick De Geest_, Jan 04 1999

%E a(0)=1 prepended by _Sean A. Irvine_, Dec 06 2020