OFFSET
1,1
LINKS
Ray Chandler, Table of n, a(n) for n = 1..10000 (first 4000 terms from Arkadiusz Wesolowski)
FORMULA
a(n) = 45*A057148(n+1). - Ray Chandler, Oct 09 2017
EXAMPLE
495 belongs to this sequence because 6*495/5 = 594.
MATHEMATICA
Rest@Select[FromDigits /@ Tuples[{0, 45}, 8], IntegerDigits[6*#/5] == Reverse@IntegerDigits[#] &] (* Arkadiusz Wesolowski, Aug 14 2012 *)
PROG
(Python)
def A193434(n):
a = 1<<(m:=n+1).bit_length()-2
s = bin(a|(m&a-1))[2:]
return 45*int(s+(s[::-1] if a&m else s[-2::-1])) # Chai Wah Wu, Jul 23 2024
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Arkadiusz Wesolowski, Aug 01 2011
STATUS
approved