login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A138722
Concatenation of p digits 1, p digits 0 and p digits 1, where p is the n-th prime.
5
110011, 111000111, 111110000011111, 111111100000001111111, 111111111110000000000011111111111, 111111111111100000000000001111111111111
OFFSET
1,1
MATHEMATICA
Table[FromDigits[Join[PadRight[{}, n, 1], PadRight[{}, n, 0], PadRight[{}, n, 1]]], {n, Prime[Range[7]]}] (* Harvey P. Dale, Feb 05 2017 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Omar E. Pol, Mar 29 2008
STATUS
approved