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.

Previous Showing 11-16 of 16 results.

A328585 Numbers n for which A257993(n) is equal to A257993(A276086(A276086(n))), where A276086 converts the primorial base expansion of n into its prime product form, and A257993 returns the index of the least prime not present in its argument.

Original entry on oeis.org

1, 3, 5, 6, 7, 9, 11, 13, 15, 17, 18, 19, 21, 23, 25, 27, 29, 31, 33, 35, 36, 37, 39, 41, 43, 45, 47, 48, 49, 51, 53, 55, 57, 59, 61, 63, 65, 66, 67, 69, 71, 73, 75, 77, 78, 79, 81, 83, 85, 87, 89, 91, 93, 95, 96, 97, 99, 101, 103, 105, 107, 108, 109, 111, 113, 115, 117, 119, 121, 123, 125, 126, 127, 129, 131, 133, 135, 137, 138, 139
Offset: 1

Views

Author

Antti Karttunen, Oct 21 2019

Keywords

Comments

Numbers n for which A257993(n) is equal to A328578(n).
All odd numbers are included, as A257993(2n+1) = A328578(2n+1) = 1 for all n >= 0.

Crossrefs

Union of A005408 (odd numbers) and A328586 (even terms).
Positions of zeros in A328590.
Cf. also A328316, A328317.

Programs

A326810 The smallest prime that does not divide the prime product form (A276086) of the primorial base expansion of n.

Original entry on oeis.org

2, 3, 2, 5, 2, 5, 2, 3, 2, 7, 2, 7, 2, 3, 2, 7, 2, 7, 2, 3, 2, 7, 2, 7, 2, 3, 2, 7, 2, 7, 2, 3, 2, 5, 2, 5, 2, 3, 2, 11, 2, 11, 2, 3, 2, 11, 2, 11, 2, 3, 2, 11, 2, 11, 2, 3, 2, 11, 2, 11, 2, 3, 2, 5, 2, 5, 2, 3, 2, 11, 2, 11, 2, 3, 2, 11, 2, 11, 2, 3, 2, 11, 2, 11, 2, 3, 2, 11, 2, 11, 2, 3, 2, 5, 2, 5, 2, 3, 2, 11, 2, 11, 2, 3, 2, 11
Offset: 0

Views

Author

Antti Karttunen, Oct 19 2019

Keywords

Crossrefs

Programs

  • Mathematica
    With[{b = MixedRadix[Reverse@ Prime@ Range@ 12]}, Table[Block[{p = 2}, While[Mod[#, p] == 0, p = NextPrime@ p]; p] &@ Apply[Times, Power @@@ # &@ Transpose@ {Prime@ Range@ Length@ #, Reverse@ #}] &@ IntegerDigits[n, b], {n, 0, 105}]] (* Michael De Vlieger, Oct 22 2019 *)
  • PARI
    A326810(n) = { my(i=1, p=2); while(n && (n%p), n = n\p; p = nextprime(1+p)); (p); };

Formula

a(n) = A053669(A276086(n)).
a(n) = A000040(A328570(n)).
a(n) = A020639(A276087(n)) = A020639(A328613(n)).
a(n) = A276087(n) / A276086(A328476(n)).
For all odd n, a(n) > A276088(n).
For all n >= 0, a(A276086(n)) = A328579(n).
For all n >= 1, A328317(n) = a(A328316(n-1)).

A109162 a(1) = 1; for n > 1, a(n) = A019565(a(n-1)).

Original entry on oeis.org

1, 2, 3, 6, 15, 210, 10659, 54230826, 249853434654335387610276087
Offset: 1

Views

Author

Leroy Quet, Aug 18 2005

Keywords

Comments

After the initial 1, even-indexed terms are of the form 4k+2 (members of A016825) and odd-indexed terms are of the form 6k+3 (members of A016945). However, not all even terms after 2 are multiples of three, because not all odd-indexed terms are of the form 4k+3. For example, because a(11) is of the form 4k+1, a(12) cannot be a multiple of three. - Antti Karttunen, Jun 18 2017

Examples

			a(4) = 6, which is 110 in binary. So a(5) is the product of the primes corresponding to the 1's of 110, 3*5 = 15.
		

Crossrefs

Cf. A019565, A285320 (a left inverse).
The left edge of A285332 and A285333.
Cf. A153013, A328316 for similar iteration sequences, and also A376406, A376407, A376408.

Programs

  • Mathematica
    NestList[Times @@ Prime@ Flatten@ Position[#, 1] &@ Reverse@ IntegerDigits[#, 2] &, 1, 11] (* Michael De Vlieger, Aug 20 2017 *)

Extensions

More terms from Franklin T. Adams-Watters, Aug 29 2006

A328586 Even numbers n for which A257993(n) is equal to A257993(A276086(A276086(n))), where A276086 converts the primorial base expansion of n into its prime product form, and A257993 returns the index of the least prime not present in its argument.

Original entry on oeis.org

6, 18, 36, 48, 66, 78, 96, 108, 126, 138, 156, 168, 186, 198, 222, 234, 252, 264, 282, 294, 312, 324, 342, 354, 372, 384, 402, 414, 426, 438, 456, 468, 486, 498, 516, 528, 546, 558, 576, 588, 606, 618, 642, 654, 672, 684, 702, 714, 732, 744, 762, 774, 792, 804, 822, 834, 846, 858, 876, 888, 906, 918, 936, 948, 966, 978, 996, 1008
Offset: 1

Views

Author

Antti Karttunen, Oct 21 2019

Keywords

Comments

All terms are multiples of 6, but very few multiples of 5 (and thus of 10) are present: the first ones are at a(169) = 2520 and a(254) = 3780. Among the first 10000 terms, there are only 28 ending with decimal digit 0, while those that end with either 2 or 4 are 2450 both, and with either 6 or 8, both have 2536 each.
Other multiples of six are in A328587 and A328589.

Crossrefs

Programs

A153013 Starting with input 0, find the binary value of the input. Then interpret resulting string of 1's and 0's as prime-based numbers, as follows: 0's are separators, uninterrupted strings of 1's are interpreted from right to left as exponents of the prime numbers. Output is returned as input for the next number in sequence.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 9, 10, 15, 16, 11, 12, 25, 50, 147, 220, 6125, 1968750, 89142864525, 84252896510182189218, 34892570216750728458698250328871491829901861750593684043
Offset: 0

Views

Author

Mark Zegarelli (mtzmtz(AT)gmail.com), Dec 16 2008

Keywords

Comments

From Antti Karttunen, Oct 15 2016: (Start)
Iterates of map f : n -> A005940(1+n), (Doudna-sequence, but with starting offset zero) starting from the initial value 0. Conversely, the unique infinite sequence such that a(n) = A156552(a(n+1)) and a(0) = 0.
Note that map f can also form cycles, like 7 <-> 8 (A005940(1+7) = 8, A005940(1+8) = 7).
On the other hand, this sequence cannot ever fall into a loop because 0 is not in the range of map f, for n=0.., while f is injective on [1..]. Thus the values obtained by this sequence are not bounded, although there might be more nonmonotonic positions like for example there is from a(10) = 16 to a(11) = 11.
The formula A008966(a(n+1)) = A085357(a(n)) tells that the squarefreeness of the next term a(n+1) is determined by whether the previous term a(n) is a fibbinary number (A003714) or not. Numerous other such correspondences hold, and they hold also for any other trajectories outside of this sequence.
Even and odd terms alternate. No two squares can occur in succession because A106737 obtains even values for all squares > 1 and A000005 is odd for all squares. More directly this is seen from the fact that the rightmost 1-bit in the binary expansion of any square is always alone.
(End)

Examples

			101 is interpreted as 3^1 * 2^1 = 6. 1110011 is interpreted as 5^3 * 2^2 = 500.
		

Crossrefs

Cf. also A109162, A328316 for similar iteration sequences.

Programs

  • Mathematica
    NestList[Times @@ Flatten@ MapIndexed[Prime[#2]^#1 &, #] &@ Flatten@ MapIndexed[If[Total@ #1 == 0, ConstantArray[0, Boole[First@ #2 == 1] + Length@ #1 - 1], Length@ #1] &, Reverse@ Split@ IntegerDigits[#, 2]] &, 0, 21] (* Michael De Vlieger, Oct 17 2016 *)
  • PARI
    step(n)=my(t=1,v); forprime(p=2,, v=valuation(n+1,2); t*=p^v; n>>=v+1; if(!n, return(t)))
    t=0; concat(0,vector(20,n, t=step(t))) \\ Charles R Greathouse IV, Sep 01 2015
    
  • Scheme
    ;; With memoization-macro definec.
    (definec (A153013 n) (if (zero? n) n (A005940 (+ 1 (A153013 (- n 1))))))
    ;; Antti Karttunen, Oct 15 2016

Formula

From Antti Karttunen, Oct 15 2016: (Start)
a(0) = 0; for n >= 1, a(n) = A005940(1+a(n-1)).
A008966(a(n+1)) = A085357(a(n)). [See the comment.]
A181819(a(1+n)) = A246029(a(n)).
A000005(a(n+1)) = A106737(a(n)).
(End)

Extensions

a(20)-a(22) from Yang Haoran, Aug 31 2015

A328633 Numbers n for which A328578(n) = A257993(A276086(A276086(n))) = 3, where A276086 converts the primorial base expansion of n into its prime product form, and A257993 returns the index of the least prime not present in its argument.

Original entry on oeis.org

2, 6, 18, 34, 36, 48, 66, 78, 96, 108, 122, 126, 138, 154, 156, 168, 186, 198, 212, 222, 234, 244, 252, 264, 282, 294, 312, 324, 332, 342, 354, 364, 372, 384, 402, 414, 422, 426, 438, 454, 456, 468, 486, 498, 516, 528, 542, 546, 558, 574, 576, 588, 606, 618, 632, 642, 654, 664, 672, 684, 702, 714, 732, 744, 752, 762, 774, 784, 792, 804
Offset: 1

Views

Author

Antti Karttunen, Oct 27 2019

Keywords

Comments

Numbers n for which A276087(n) is a multiple of 6, but not of 5.
Question: Is the even bisection of A328316, starting from A328316(4) as: 6, 18, 43218, ..., a subsequence of this sequence? See also A328317.
Subsequence such that both k and A276087(k) are in this sequence starts as: 2, 6, 18, 34, 36, 48, 66, 154, 156, 186, 234, 244, 294, 312, 324, 354, 364, 384, 426, 438, 454, 456, 542, 546, 558, 588, 606, ...
When A276086 is applied to any number which is a multiple of 6, but not of 5 (and thus not a multiple of 30, implying that the number's primorial expansion ends with "x00", where x <> 0, and A257993(n) = 3), the original number will be converted to a number of the form 30k+5 or 30k+25 (A084967) whose primorial expansion ends either as "...021" or as "...401", with the least significant zero in position A328578(n), which is seen to be always either 3 or 2.

Examples

			294 = 7^2 * 3 * 2 has primorial base expansion (A049345) "12400", which, when converted to a prime product form (A276086) yields 11^1 * 7^2 * 5^4 * 3^0 * 2^0 = 336875. This in turn has primorial base representation [11,2,9,1,0,2,1], which when converted to prime product form gives 17^11 * 13^2 * 11^9 * 7^1 * 5^0 * 3^2 * 2^1 = 1720796647657111567992931482, which has the required property of being a multiple of 6 but not of 5, thus 294 is included in this sequence.
		

Crossrefs

Programs

Previous Showing 11-16 of 16 results.