Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A121031
Multiples of 11 containing an 11 in their decimal representation.
34
11, 110, 1100, 1111, 1122, 1133, 1144, 1155, 1166, 1177, 1188, 1199, 2112, 2211, 3113, 3311, 4114, 4411, 5115, 5511, 6116, 6611, 7117, 7711, 8118, 8811, 9119, 9911, 11000, 11011, 11022, 11033, 11044, 11055, 11066, 11077, 11088, 11099, 11110
OFFSET
1,1
FORMULA
a(n) ~ 11n. - Charles R Greathouse IV, Feb 12 2017
MATHEMATICA
Select[11*Range[1100], MemberQ[Partition[IntegerDigits[#], 2, 1], {1, 1}]&] (* Harvey P. Dale, Feb 16 2014 *)
Select[11Range[1100], SequenceCount[IntegerDigits[#], {1, 1}]>0&] (* Harvey P. Dale, Jun 14 2024 *)
PROG
(PARI) is(n)=if(n%11, return(0)); while(n>10, if(n%100==11, return(1)); n\=10); 0 \\ Charles R Greathouse IV, Feb 12 2017
KEYWORD
nonn,base,easy
AUTHOR
Reinhard Zumkeller, Jul 21 2006
STATUS
approved