login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A285011 Numbers with digits 7 and 9 only. 0
7, 9, 77, 79, 97, 99, 777, 779, 797, 799, 977, 979, 997, 999, 7777, 7779, 7797, 7799, 7977, 7979, 7997, 7999, 9777, 9779, 9797, 9799, 9977, 9979, 9997, 9999, 77777, 77779, 77797, 77799, 77977, 77979, 77997, 77999, 79777, 79779, 79797, 79799, 79977, 79979 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

MATHEMATICA

Flatten@ Table[FromDigits /@ Tuples[{7, 9}, n], {n, 5}] (* Giovanni Resta, Apr 10 2017 *)

PROG

(MAGMA) [n: n in [1..100000] | Set(IntegerToSequence(n, 10)) subset {7, 9}]

(PARI) a(n, {p=[7, 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 A020471.

Numbers with digits 7 and k only for k = 0 - 6 and 8 - 9: A204094 (k = 0), A276039 (k = 1), A284921 (k = 2), A143967 (k = 3), A284971 (k = 4), A284380 (k = 5), A256292 (k = 6), A256340 (k = 8), this sequence (k = 9).

Sequence in context: A263836 A087336 A178427 * A317401 A137058 A116237

Adjacent sequences:  A285008 A285009 A285010 * A285012 A285013 A285014

KEYWORD

nonn,base

AUTHOR

Jaroslav Krizek, Apr 08 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 9 12:53 EDT 2020. Contains 336323 sequences. (Running on oeis4.)