The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A284379 Numbers n with digits 3 and 5 only. 6
 3, 5, 33, 35, 53, 55, 333, 335, 353, 355, 533, 535, 553, 555, 3333, 3335, 3353, 3355, 3533, 3535, 3553, 3555, 5333, 5335, 5353, 5355, 5533, 5535, 5553, 5555, 33333, 33335, 33353, 33355, 33533, 33535, 33553, 33555, 35333, 35335, 35353, 35355, 35533, 35535 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS Prime terms are in A020462. LINKS Robert Israel, Table of n, a(n) for n = 1..10000 FORMULA From Robert Israel, Apr 13 2020: (Start) a(n) = 2*A007931(n)+A002275(n). a(2n+1) = 10*a(n)+3. a(2n+2) = 10*a(n)+5. G.f. g(x) satisfies g(x) = 10*(x^2+x)*g(x^2) + (3*x+5*x^2)/(1-x^2). (End) MAPLE A:= 3, 5: B:= [3, 5]; for i from 1 to 5 do B:= map(t -> (10*t+3, 10*t+5), B); A:= A, op(B); od: A; # Robert Israel, Apr 13 2020 MATHEMATICA Select[Range[35600], Times @@ Boole@ Map[MemberQ[{3, 5}, #] &, IntegerDigits@ #] > 0 &] (* or *) Table[FromDigits /@ Union@ Apply[Join, Map[Permutations@ # &, Tuples[{3, 5}, n]]], {n, 5}] // Flatten (* Michael De Vlieger, Mar 27 2017 *) PROG (Magma) [n: n in [1..100000] | Set(IntegerToSequence(n, 10)) subset {3, 5}] CROSSREFS Numbers n with digits 5 and k only for k = 0 - 4 and 6 - 9: A169964 (k = 0), A276037 (k = 1), A072961 (k = 2), this sequence (k = 3), A256290 (k = 4), A256291 (k = 6), A284380 (k = 7), A284381 (k = 8), A284382 (k = 9). Sequence in context: A295364 A199774 A235267 * A372718 A103010 A225866 Adjacent sequences: A284376 A284377 A284378 * A284380 A284381 A284382 KEYWORD nonn,base AUTHOR Jaroslav Krizek, Mar 26 2017 STATUS approved

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.

Last modified August 14 16:54 EDT 2024. Contains 375166 sequences. (Running on oeis4.)