login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A178246 Numbers n such that the digits of n are also digits of 2^n. 0
6, 10, 14, 17, 21, 25, 27, 28, 29, 30, 31, 35, 36, 37, 39, 44, 45, 46, 47, 48, 49, 50, 51, 52, 54, 56, 57, 58, 60, 61, 62, 63, 64, 66, 67, 68, 69, 70, 72, 73, 74, 75, 76, 77, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 92, 93, 94, 95, 96, 97, 98, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 113, 114, 115, 116, 117 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The sequence shows subsets of consecutive numbers.

LINKS

Table of n, a(n) for n=1..80.

EXAMPLE

17 is in the sequence because the digits 1 and 7 are included in the number 2^17 = 131072;

153 is not in the sequence because the digit 3 is not in the number 2^153 = 11417981541647679048466287755595961091061972992.

MATHEMATICA

Reap[Do[a = DigitCount[2^n]; b = DigitCount[n]; If[Min[a-b] >= 0, Sow[n]], {n, 10^3}]][[2, 1]]

CROSSREFS

Cf. A064827

Sequence in context: A207870 A315163 A248632 * A190712 A315164 A315165

Adjacent sequences:  A178243 A178244 A178245 * A178247 A178248 A178249

KEYWORD

nonn,base

AUTHOR

Michel Lagneau, Dec 20 2010

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 23 17:19 EDT 2019. Contains 328373 sequences. (Running on oeis4.)