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!)
A284921 Numbers with digits 2 and 7 only. 5

%I #11 Sep 08 2022 08:46:19

%S 2,7,22,27,72,77,222,227,272,277,722,727,772,777,2222,2227,2272,2277,

%T 2722,2727,2772,2777,7222,7227,7272,7277,7722,7727,7772,7777,22222,

%U 22227,22272,22277,22722,22727,22772,22777,27222,27227,27272,27277,27722,27727

%N Numbers with digits 2 and 7 only.

%C Prime terms are in A020459.

%t Flatten@ Array[FromDigits /@ Tuples[{2, 7}, #] &, 5] (* _Michael De Vlieger_, Apr 06 2017 *)

%o (Magma) [n: n in [1..100000] | Set(IntegerToSequence(n, 10)) subset {2, 7}]

%Y Cf. Numbers with digits 2 and k only for k = 0 - 1 and 3 - 9: A169965 (k = 0), A007931 (k = 1), A032810 (k = 3), A284920 (k = 4), A072961 (k = 5), A284632 (k = 6), this sequence (k = 7), A284922 (k = 8), A284923 (k = 9).

%K nonn,base

%O 1,1

%A _Jaroslav Krizek_, Apr 05 2017

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 April 18 15:48 EDT 2024. Contains 371780 sequences. (Running on oeis4.)