OFFSET
1,2
COMMENTS
This sequence differs from A029519 in that all least significant zeros are kept during concatenation.
No more terms < 10^7. - Lars Blomberg, Aug 31 2011
EXAMPLE
7654321 -> (111)(011)(101)(001)(11)(01)(1) base 2 ->11101110100111011 base 2 = 122171 and 7 divides 122171.
MATHEMATICA
b = 2; c = {}; Select[Range[10^4], Divisible[FromDigits[c = Join[Reverse[IntegerDigits[#, b]], c], b], #] &] (* Robert Price, Mar 07 2020 *)
PROG
(PARI) is(n) = my(t=[]); for(k=1, n, t=concat(Vecrev(binary(k)), t)); if(Mod(subst(Pol(t), x, 2), n)==0, return(1), return(0)) \\ Felix Fröhlich, Jul 06 2017
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Larry Reeves (larryr(AT)acm.org), May 24 2001
EXTENSIONS
Edited and updated by Larry Reeves (larryr(AT)acm.org), Apr 12 2002; Aug 25 2002
a(13)-a(16) from Lars Blomberg, Aug 31 2011
STATUS
approved