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”).

A049301
Numbers k such that k is a substring of 3^k.
8
7, 9, 24, 28, 57, 61, 62, 69, 71, 72, 77, 78, 80, 83, 87, 89, 95, 111, 162, 170, 174, 185, 191, 218, 222, 225, 229, 232, 249, 255, 259, 266, 267, 286, 288, 298, 314, 315, 322, 328, 329, 330, 332, 338, 351, 352, 362, 373, 376, 381, 386, 387, 414, 421, 435, 438
OFFSET
1,1
LINKS
MATHEMATICA
ssQ[n_]:=MemberQ[Partition[IntegerDigits[3^n], IntegerLength[n], 1], IntegerDigits[ n]]; Select[Range[500], ssQ] (* Harvey P. Dale, Jul 16 2013 *)
KEYWORD
nonn,base,easy
STATUS
approved