cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-6 of 6 results.

A270030 a(n) is the smallest b for which the base-b representation of n contains at least one 4 (or 0 if no such base exists).

Original entry on oeis.org

0, 0, 0, 5, 0, 0, 0, 0, 5, 6, 7, 8, 9, 5, 11, 6, 13, 7, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 5, 7, 7, 7, 7, 5, 8, 8, 8, 8, 5, 6, 9, 9, 9, 5, 5, 5, 5, 5, 5, 11, 11, 6, 7, 5, 12, 12, 12, 6, 5, 6, 6, 6, 6, 5, 6, 14, 7, 8, 5, 5, 5, 5, 5, 5, 16, 6, 7, 7, 5, 7, 7, 6, 7, 5, 9, 18, 18, 6, 5, 19
Offset: 1

Views

Author

Nathan Fox, Mar 08 2016

Keywords

Comments

a(n) > 0 for n >= 9 since 14 is n written in base n-4.
The only perfect k-th powers (k >= 2) that can appear in this sequence are 2^k, 3^k, or 4^k, with k a prime number.

Crossrefs

Programs

  • Mathematica
    Table[SelectFirst[Range[5, 10^3], DigitCount[n, #, 4] > 0 &], {n, 9, 120}] (* Michael De Vlieger, Mar 10 2016, Version 10 *)
  • PARI
    a(n) = if ((n<9) && (n!=4), 0, my(b=5); while(!vecsearch(Set(digits(n, b)), 4), b++); b); \\ Michel Marcus, Mar 10 2016

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.

Original entry on oeis.org

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

Views

Author

Keywords

Comments

If no base b gives any 4's then we take b=4.
For n>65 "digits" greater than 9 appear in a(n) - see the first link. This explains why this sequence has no b-file: the OEIS restriction to decimal digits means that a(66) cannot be written as a single base-10 number (it would be "4,10").
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.
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?
This sequence and its companions were created during a dinner following the Experimental Mathematics Seminar at Rutgers University on Feb 04 2016.

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.
		

Crossrefs

Cf. A268237 (the base b), A268238 (number of 4's).
See A268540 and A268541 for the "44" entries.
See also the "Foury" numbers A011534, A019764, and A268544.
A268360 and A349031 are other Foury sequences.

A270040 a(n) = Smallest m >= 9 containing no fours when represented in any base from 5 through n.

Original entry on oeis.org

10, 11, 12, 13, 15, 15, 17, 17, 66, 75, 75, 86, 86, 90, 138, 138, 138, 138, 138, 138, 138, 138, 138, 182, 182, 182, 182, 182, 182, 182, 182, 182, 185, 781817578165, 781817578165, 7826560751018861596150680
Offset: 5

Views

Author

Nathan Fox, Mar 09 2016

Keywords

Comments

It remains to be determined if the sequence is finite.
These numbers are not very Foury, at least not initially. (See A268236.)

Crossrefs

Programs

  • Mathematica
    Table[SelectFirst[Range[9, 10^3], Total@ Map[Function[k, DigitCount[#, k, 4]], Range[5, n]] == 0 &], {n, 5, 60}] /. n_ /; MissingQ@ n -> Nothing (* Michael De Vlieger, Mar 10 2016, Version 10.2 *)

A268238 From the 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 the number of 4's.

Original entry on oeis.org

0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 2, 1, 1, 1, 2, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 2
Offset: 0

Views

Author

Keywords

Comments

If no base b gives any 4's then we take b=4.
The first occurrence of any value m in this sequence is at position 5^m-1.
a(n) > 0 for n >= 9 since 14 is n written in base n-4. - Chai Wah Wu, Feb 06 2016

Crossrefs

Cf. A268236 (Fouriest transform of n), A268237 (the base b).

A268540 Numbers whose Fouriest transform (see A268236) is 44.

Original entry on oeis.org

24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 68, 72, 76, 80, 84, 88, 92, 96, 108, 112, 116, 128, 132, 140, 152, 156, 176, 180, 184, 188, 192, 204, 212, 216, 220, 232, 236, 240, 252, 264, 272, 296, 304, 312, 320, 332, 336, 348, 380, 392, 396, 408, 412, 416, 428, 432, 436, 456, 468, 472, 476, 480, 492, 500, 508, 512, 516
Offset: 1

Views

Author

Keywords

Comments

If we are ever going to understand A268236 then we need to understand this sequence first.
Based on Nathan Fox's extended table in A268236.
Equivalently, numbers 4k (k>5) whose representations in bases 5 through k-2 each contain at most one 4.
Equivalently, numbers 4k (k>5) whose representations in integer bases less than sqrt(4k) each contain at most one 4.
Is this sequence infinite?

Crossrefs

A268541 Base in which the Fouriest transform of A268540(n) is 44.

Original entry on oeis.org

5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 26, 27, 28, 31, 32, 34, 37, 38, 43, 44, 45, 46, 47, 50, 52, 53, 54, 57, 58, 59, 62, 65, 67, 73, 75, 77, 79, 82, 83, 86, 94, 97, 98, 101, 102, 103, 106, 107, 108, 113, 116, 117, 118, 119, 122, 124, 126, 127, 128, 134, 137, 138, 139, 146, 158, 163, 164
Offset: 1

Views

Author

Keywords

Comments

If we are ever going to understand A268236 then we need to understand this sequence first.
Based on Nathan Fox's table in A268236.

Crossrefs

Formula

a(n) = A268540(n)/4 - 1
Showing 1-6 of 6 results.