Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A067272
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A067272 Numbers n such that the digits of T(n) = n(n+1)/2, the n-th triangular number, begin with n. +0
1
1, 19, 199, 1999, 19999, 199999 (list; graph; listen)
OFFSET

1,2

COMMENT

Smaller of the smallest pair of successive n-digit numbers which have no digit in common: (1, 2), (19, 20), 199, 200) etc. - Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Nov 10 2002

FORMULA

a(n)=2*10^(n-1)-1 - Benoit Cloitre (benoit7848c(AT)orange.fr), Feb 28 2002

EXAMPLE

T(19) = 190 begins with 19. Hence 19 is a term of the sequence.

MATHEMATICA

(*returns true if a begins with b, false o.w.*) f2[a_, b_] := Module[{c, d, e, g, h, i, r}, r = False; c = ToString[a]; d = ToString[b]; g = StringPosition[c, d]; h = Length[g]; If[h > 0, i = g[[h]]; If[i[[1]] == 1, r = True]]; r]; Do[If[f2[n(n + 1)/2, n], Print[n]], {n, 1, 10^6} ]

CROSSREFS

Sequence in context: A066007 A147830 A135162 this_sequence A037071 A065582 A055558

Adjacent sequences: A067269 A067270 A067271 this_sequence A067273 A067274 A067275

KEYWORD

base,nonn

AUTHOR

Joseph L. Pe (joseph_l_pe(AT)hotmail.com), Feb 21 2002

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 23 17:09 EST 2009. Contains 167438 sequences.


AT&T Labs Research