%I
%S 0,1,2,3,4,11,12,13,20,14,14,14,14,14,24,14,24,14,24,34,40,41,42,43,
%T 44,41,42,43,44,104,42,43,44,45,114,43,44,45,46,124,44,45,46,47,44,
%U 140,141,142,44,144,46,47,44,104,204,47,44,49,134,214,44,141,142,143,144,145
%N 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.
%C If no base b gives any 4's then we take b=4.
%C For n>65 "digits" greater than 9 appear in a(n)  see the first link. This explains why this sequence has no bfile: the OEIS restriction to decimal digits means that a(66) cannot be written as a single base10 number (it would be "4,10").
%C The Fouriest transform pun suggests (by analogy with shaky, shakier, shakiest) investigating the Foury, Fourier, and Fouriest numbers. Three obvious candidates for the Foury numbers are A011534, A019764, and A268544, which are all "Foury" in different ways.
%C With respect to a fixed base b, we could say that n is Fourier than m (in base b) if the fraction [or number?] of 4's in the representation of n (base b) is greater than the analogous quantity for m. But it is not clear which definition is to be preferred. In base 10, which is Fourier, 440 or 439454?
%C This sequence and its companions were created during a dinner following the Experimental Mathematics Seminar at Rutgers University on Feb 04 2016.
%H Nathan Fox, <a href="/A268236/a268236_10000.txt">First 10000 terms of A268236, A268237, A268238</a>. Square brackets are used to separate the "digits" of A268236, since for n >= 66 these can be greater than 10.
%H Zach Weinersmith, <a href="http://www.smbccomics.com/?id=2874">Fouriest number</a>, SMBC (Saturday Morning Breakfast Cereal) column, Feb 01, 2013.
%e For n=24, the base5 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.
%e The Fouriest transform of n=66 is 4,10 in base b=14 (note the nondecimal digit) and contains a single 4.
%Y Cf. A268237 (the base b), A268238 (number of 4's).
%Y See A268540 and A268541 for the "44" entries.
%Y See also the "Foury" numbers A011534, A019764, and A268544.
%Y A268360 is another Foury sequence.
%K nonn,base
%O 0,3
%A _Jake Baron_, _Patrick Devlin_, _Nathan Fox_, and _N. J. A. Sloane_, Feb 06 2016
