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!)
A284973 Numbers with digits 4 and 9 only. 4
4, 9, 44, 49, 94, 99, 444, 449, 494, 499, 944, 949, 994, 999, 4444, 4449, 4494, 4499, 4944, 4949, 4994, 4999, 9444, 9449, 9494, 9499, 9944, 9949, 9994, 9999, 44444, 44449, 44494, 44499, 44944, 44949, 44994, 44999, 49444, 49449, 49494, 49499, 49944, 49949 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
PROG
(Magma) [n: n in [1..100000] | Set(IntegerToSequence(n, 10)) subset {4, 9}]
(PARI) a(n, {p=[4, 9]})={my(v=binary(n+1)); fromdigits(vector(#v-1, i, p[2]*v[i+1]+p[1]*!v[i+1]))} \\ R. J. Cano, Apr 09 2017
CROSSREFS
Prime terms are in A020466.
Numbers with digits 4 and k only for k = 0 - 3 and 5 - 9: A169967 (k = 0), A032822 (k = 1), A284920 (k = 2), A032834 (k = 3), A256290 (k = 5), A284634 (k = 6), A284971 (k = 7), A284972 (k = 8), this sequence (k = 9).
Sequence in context: A359922 A093149 A048054 * A239853 A209079 A149170
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Apr 07 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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 11:52 EDT 2024. Contains 371779 sequences. (Running on oeis4.)