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!)
A337099 Largest positive number using exactly n segments on a calculator display (when '6' and '7' are represented using 6 resp. 3 segments). 0
1, 7, 11, 71, 111, 711, 1111, 7111, 11111, 71111, 111111, 711111, 1111111, 7111111, 11111111, 71111111, 111111111, 711111111, 1111111111, 7111111111, 11111111111, 71111111111, 111111111111, 711111111111, 1111111111111, 7111111111111, 11111111111111, 71111111111111 (list; graph; refs; listen; history; text; internal format)
OFFSET

2,2

COMMENTS

The sequence begins with a(2) = 1 since at least two segments are needed to form any digit. It requires two segments to form the digit 1 and three segments to form the digit 7.

All other digits use more than 3 segments.

LINKS

Table of n, a(n) for n=2..29.

Index entries for sequences related to calculator display

Index entries for linear recurrences with constant coefficients, signature (1,10,-10).

FORMULA

a(n+2) = 10*a(n) + 1 for n >= 2.

a(2*n) = (10^n - 1)/9 ; a(2*n + 1) = ((10^n - 1)/9) + 6*10^(n - 1).

From Stefano Spezia, Sep 29 2020: (Start)

G.f.: x^2*(1 + 6*x - 6*x^2)/(1 - x - 10*x^2 + 10*x^3).

a(n) = a(n-1) + 10*a(n-2) - 10*a(n-3) for n > 4. (End)

MATHEMATICA

CoefficientList[Series[(1 + 6*x - 6*x^2)/(1 - x - 10*x^2 + 10*x^3), {x, 0, 30}], x] (* Wesley Ivan Hurt, Nov 07 2020 *)

CROSSREFS

Cf. A063720 (number of segments), A216261 (smallest number), A249572.

Sequence in context: A177182 A061809 A289286 * A123763 A018680 A107187

Adjacent sequences:  A337096 A337097 A337098 * A337100 A337101 A337102

KEYWORD

nonn,base

AUTHOR

Suren Suren, Sep 29 2020

EXTENSIONS

More terms from Stefano Spezia, Sep 29 2020

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 February 27 11:07 EST 2021. Contains 341649 sequences. (Running on oeis4.)