|
|
A062102
|
|
Numbers n such that no substring is a triangular number.
|
|
1
|
|
|
2, 4, 5, 7, 8, 9, 22, 24, 25, 27, 29, 42, 44, 47, 48, 49, 52, 54, 57, 58, 59, 72, 74, 75, 77, 79, 82, 84, 85, 87, 88, 89, 92, 94, 95, 97, 98, 99, 222, 224, 225, 227, 229, 242, 244, 247, 248, 249, 252, 254, 257, 258, 259, 272, 274, 275, 277, 279, 292, 294, 295, 297
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
23 is not included because 3 is triangular
|
|
MAPLE
|
istri:= n -> issqr(1+8*n):
filter:= proc(n) local d, i, j, v;
for i from 0 do
v:= floor(n/10^i);
if v = 0 then return true fi;
if istri(v) then return false fi;
for j from ilog10(v) to 1 by -1 do
if istri(v mod 10^j) then return false fi;
od
od
end proc:
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|