OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
Numbers {2, 3, 7, 62, 63}, their squares {4, 9, 49, 3844, 3969} and cubes {8, 27, 343, 238328, 250047} all are "one-less".
MAPLE
filter:= proc(n) local L, i;
for i from 1 to 3 do
L:= convert(n^i, base, 10);
if member(1, L) then return false fi;
od;
true
end proc:
select(filter, [seq(seq(10*i+j, j=2..8), i=0..100)]); # Robert Israel, Apr 03 2024
MATHEMATICA
Select[Range[800], NumberDigit[#, 0]!=0&&FreeQ[Flatten[ IntegerDigits/@ {#, #^2, #^3}], 1]&] (* Harvey P. Dale, Sep 24 2021 *)
CROSSREFS
KEYWORD
AUTHOR
Zak Seidov, Feb 23 2015
EXTENSIONS
Definition modified by Harvey P. Dale, Sep 24 2021
STATUS
approved