OFFSET
1,3
COMMENTS
Contains every power of 2. Is 41 the only term which is not a power of 2? - Sean A. Irvine, Oct 11 2009
Up to 1.7*10^13 the sequence does not contain numbers greater than 41 which are not a power of 2. - Giovanni Resta, Aug 30 2018
EXAMPLE
41 is a term because 41 (base 2) = 101001, which is a substring of 41^2 (base 2) = 11010010001 and which is a substring of 41^3 (base 2) = 10000110100111001.
MATHEMATICA
Select[Range[0, 10^6], SequenceCount[IntegerDigits[#^2, 2], IntegerDigits[#, 2]]>0&&SequenceCount[IntegerDigits[#^3, 2], IntegerDigits[#, 2]]>0&] (* James C. McMahon, Mar 17 2025 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Jonathan Vos Post, Dec 22 2007
EXTENSIONS
Corrected and extended by Sean A. Irvine, Oct 11 2009
a(32) from Oliver Allen, Aug 08 2017
a(33)-a(35) from Oliver Allen, Aug 10 2017
STATUS
approved
