A268236 Fouriest transform of n: write n in that base b >= 4 which maximizes the number of 4's; in case of a tie pick the smallest b; sequence gives n in base b.
0, 1, 2, 3, 4, 11, 12, 13, 20, 14, 14, 14, 14, 14, 24, 14, 24, 14, 24, 34, 40, 41, 42, 43, 44, 41, 42, 43, 44, 104, 42, 43, 44, 45, 114, 43, 44, 45, 46, 124, 44, 45, 46, 47, 44, 140, 141, 142, 44, 144, 46, 47, 44, 104, 204, 47, 44, 49, 134, 214, 44, 141, 142, 143, 144, 145
Offset: 0
Examples
For n=24, the base-5 representation of 24 is 44. So the Fouriest transform of 24 is a(24) = 44, which uses base b = A268237(24) = 5 and contains A268238(24) = 2 4's. The Fouriest transform of n=66 is 4,10 in base b=14 (note the non-decimal digit) and contains a single 4.
Links
- Nathan Fox, First 10000 terms of A268236, A268237, A268238. Square brackets are used to separate the "digits" of A268236, since for n >= 66 these can be greater than 10.
- Zach Weinersmith, Fouriest number, SMBC (Saturday Morning Breakfast Cereal) column, Feb 01, 2013.
Comments