A178895 a(n) = n OR 8n, where OR is bitwise OR.
0, 9, 18, 27, 36, 45, 54, 63, 72, 73, 90, 91, 108, 109, 126, 127, 144, 153, 146, 155, 180, 189, 182, 191, 216, 217, 218, 219, 252, 253, 254, 255, 288, 297, 306, 315, 292, 301, 310, 319, 360, 361, 378, 379, 364, 365, 382, 383, 432, 441, 434, 443, 436, 445, 438
Offset: 0
Links
- Robert Israel, Table of n, a(n) for n = 0..10000
Programs
-
Maple
read("transforms"); for n from 0 to 120 do printf("%d,", ORnos(n,8*n) ) ; end do: # R. J. Mathar, Jun 26 2010
-
Mathematica
f[n_] := BitOr[n, 8n]; Array[f, 55, 0] (* Robert G. Wilson v, Jun 28 2010 *)
Extensions
More terms from R. J. Mathar and Robert G. Wilson v, Jun 26 2010
Comments