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
110, 11100, 111110000, 1111111000000, 111111111110000000000, 1111111111111000000000000, 111111111111111110000000000000000, 1111111111111111111000000000000000000, 111111111111111111111110000000000000000000000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
For n = 3, the third prime is 5, so a(3) = 111110000 (five 1's followed by four 0's).
MATHEMATICA
(* Technically this is in base 10 *) Table[10^(Prime[n] - 1)((10^Prime[n] - 1)/9), {n, 20}] (* Alonso del Arte, Dec 12 2012 *)
FromDigits[Join[PadRight[{}, #, 1], PadRight[{}, #-1, 0]]]&/@ Prime[ Range[ 10]] (* Harvey P. Dale, Aug 30 2015 *)
CROSSREFS
Binary representation of A060286.
a(n) has A076274(n) digits.
Sequence in context: A109241 A090490 A267688 * A135650 A193240 A267775
KEYWORD
nonn,base
AUTHOR
Omar E. Pol, Dec 12 2012
STATUS
approved

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 March 19 01:57 EDT 2024. Contains 370952 sequences. (Running on oeis4.)