login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A285211
Numbers k that share no digits with the k-th triangular number.
1
2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 24, 26, 28, 29, 30, 31, 33, 34, 38, 39, 42, 44, 46, 47, 48, 49, 52, 58, 59, 62, 64, 66, 69, 70, 71, 77, 79, 82, 84, 86, 88, 89, 114, 115, 117, 122, 124, 129, 131, 132, 246, 252, 258, 259, 262, 266, 270, 271, 277, 282, 286
OFFSET
1,1
LINKS
MAPLE
filter:= proc(n) convert(convert(n, base, 10), set) intersect convert(convert(n*(n+1)/2, base, 10), set) = {} end proc:
select(filter, [$1..1000]); # Robert Israel, Apr 21 2017
PROG
(PARI) L=List(); for(n=1, 500, if(setintersect(vecsort(digits(n), , 8), vecsort(digits(n*(n+1)/2), , 8))==[], listput(L, n))); Vec(L)
CROSSREFS
Sequence in context: A037041 A048263 A141451 * A183217 A047303 A057906
KEYWORD
nonn,base
AUTHOR
Colin Barker, Apr 13 2017
STATUS
approved