login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A211979 Numbers n formed by p 1's followed by p - 1 0's, where p is prime(n). 0

%I #20 Apr 06 2020 19:01:42

%S 110,11100,111110000,1111111000000,111111111110000000000,

%T 1111111111111000000000000,111111111111111110000000000000000,

%U 1111111111111111111000000000000000000,111111111111111111111110000000000000000000000

%N Numbers n formed by p 1's followed by p - 1 0's, where p is prime(n).

%e For n = 3, the third prime is 5, so a(3) = 111110000 (five 1's followed by four 0's).

%t (* Technically this is in base 10 *) Table[10^(Prime[n] - 1)((10^Prime[n] - 1)/9), {n, 20}] (* _Alonso del Arte_, Dec 12 2012 *)

%t FromDigits[Join[PadRight[{},#,1],PadRight[{},#-1,0]]]&/@ Prime[ Range[ 10]] (* _Harvey P. Dale_, Aug 30 2015 *)

%Y Binary representation of A060286.

%Y a(n) has A076274(n) digits.

%Y Cf. A007088, A076274, A109241, A135650.

%K nonn,base

%O 1,1

%A _Omar E. Pol_, Dec 12 2012

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 03:33 EDT 2024. Contains 371767 sequences. (Running on oeis4.)