login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A119048 Numbers n such that the n-th triangular number contains only digits {0,1,9}. 2
1, 4, 13, 19, 44, 141, 195, 199, 424, 1955, 1995, 1999, 14141, 19955, 19995, 19999, 42473, 44741, 47138, 199955, 199995, 199999, 1999955, 1999995, 1999999, 4713620, 19999955, 19999995, 19999999, 199999955, 199999995, 199999999 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

G. Resta, Tridigital Triangular Numbers

MATHEMATICA

Select[Range[2 10^7], Complement[IntegerDigits[Binomial[# + 1, 2]], {0, 1, 9}] == {}&] (* Vincenzo Librandi, Oct 07 2015 *)

Position[Accumulate[Range[2*10^8]], _?(SubsetQ[{0, 1, 9}, IntegerDigits[ #]]&), Heads->False]//Flatten (* Harvey P. Dale, Dec 01 2018 *)

PROG

(MAGMA) [n: n in [1..2*10^7] | Set(Intseq(Binomial(n+1, 2))) subset [0, 1, 9]]; // Vincenzo Librandi, Oct 07 2015

CROSSREFS

Cf. A000217, A119047. See A119034 for a table of cross-references.

Sequence in context: A267767 A141491 A292363 * A319259 A241264 A066993

Adjacent sequences:  A119045 A119046 A119047 * A119049 A119050 A119051

KEYWORD

nonn,base

AUTHOR

Giovanni Resta, May 10 2006

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 October 17 11:26 EDT 2019. Contains 328108 sequences. (Running on oeis4.)