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!)
A076068 Smallest number that can be formed by using the nonzero digits of the numbers 1+n(n-1)/2 through n(n+1)/2. 4
1, 23, 456, 1789, 1111112345, 11111226789, 22222222345678, 122333333334569, 12333344444445789, 1234444455555556789, 123455555666666666789, 12345666677777777777889, 112345677888888888889999, 111111122334455678999999999, 111111111111111111111111112234566778899 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Is there any r and s such that a(r) = a(s)? Probably not.

LINKS

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

EXAMPLE

a(4) = 1789 (=01789) formed by using digits of 7,8,9 and 10.

MATHEMATICA

sncbf[n_]:=Sort[Flatten[IntegerDigits/@Range[(n(n-1))/2+1, (n(n+1))/2]]/.(0->Nothing)]//FromDigits; Array[sncbf, 15] (* Harvey P. Dale, Nov 26 2019 *)

PROG

(Python)

def a(n):

  s = "".join(sorted("".join(map(str, range((n-1)*n//2+1, n*(n+1)//2+1)))))

  if '0' not in s: return int(s)

  return int(s[s.rfind('0')+1:])

print([a(n) for n in range(1, 16)]) # Michael S. Branicky, Jan 23 2021

CROSSREFS

Cf. A053067 (next n concatenated), A080479 (smallest with zeros), A080480 (largest with zeros).

Sequence in context: A291128 A174262 A174425 * A062273 A066547 A001369

Adjacent sequences:  A076065 A076066 A076067 * A076069 A076070 A076071

KEYWORD

base,easy,nonn

AUTHOR

Amarnath Murthy, Oct 05 2002

EXTENSIONS

More terms from David Wasserman, Mar 19 2005

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 September 20 05:24 EDT 2021. Contains 347577 sequences. (Running on oeis4.)