|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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:
|
|
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
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|