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 31-33 of 33 results.

A364547 Odd numbers k such that k is a multiple of A005940(k).

Original entry on oeis.org

1, 3, 5, 1035, 524295, 16777217
Offset: 1

Views

Author

Antti Karttunen, Jul 28 2023

Keywords

Comments

Sequence A005941(A364549(.)) sorted into ascending order.
Those terms of A000051 (= 2^k + 1) are included that have A000040(1+k) as one of their prime factors.
a(7) > 402653184.
See also comments in A364963. - Antti Karttunen, Jan 12 2024

Examples

			1035 is included because 1034 in binary is "10000001010", which Doudna isomorphism maps to 345 = 3*5*23, which thus divides 1035 (= 3^2 * 5 * 23). Note that there are six 0's in the binary representation between its most significant bit and the trailing "1010", thus we get the prime factors A000040(1+1) = 3, A000040(1+1+1) = 5 and A000040(1+1+1+6) = 23.
524295 is included because 524294 in binary is "10000000000000000110", which Doudna isomorphism maps to 549 = 3^2 * 61, which thus divides 524295 (= 3^2 * 5 * 61 * 191). Note that there are sixteen 0's in the binary representation between its most significant bit and the trailing "110", thus we get the prime factors A000040(2) = 3 and A000040(2+16) = 61.
16777217 = 2^24 + 1 is included because A000040(1+24) = 97, and 16777217 = 97*257*673.
		

Crossrefs

Programs

  • Mathematica
    nn = 2^20 + 2; Array[Set[a[#], #] &, 2]; {1}~Join~Reap[Do[If[EvenQ[n], Set[a[n], 2 a[n/2]], a[n] = k = Times @@ Power @@@ Map[{Prime[PrimePi[#1] + 1], #2} & @@ # &, FactorInteger[a[(n + 1)/2]]]; If[Divisible[n, a[n]], Sow[n]]], {n, 3, nn}] ][[-1, 1]] (* Michael De Vlieger, Jul 28 2023 *)
  • PARI
    A005940(n) = { my(p=2, t=1); n--; until(!n\=2, if((n%2), (t*=p), p=nextprime(p+1))); t };
    isA364547(n) = ((n%2)&&!(n%A005940(n)));

A365390 Inverse permutation of A356867, where A356867 is Sycamore's Doudna variant D(3).

Original entry on oeis.org

1, 2, 3, 5, 4, 6, 10, 8, 9, 7, 28, 15, 82, 11, 12, 17, 244, 18, 730, 14, 30, 29, 2188, 24, 13, 83, 27, 20, 6562, 21, 19684, 26, 84, 245, 19, 45, 59050, 731, 246, 23, 177148, 33, 531442, 32, 36, 2189, 1594324, 51, 37, 16, 732, 86, 4782970, 54, 31, 35, 2190, 6563, 14348908, 42, 43046722, 19685, 90, 53, 85, 87, 129140164
Offset: 1

Views

Author

Antti Karttunen, Sep 15 2023

Keywords

Crossrefs

Cf. A365389 (one less), A356867 (inverse), A364958 (fixed points).
Cf. also A005941.

Programs

  • PARI
    up_to = 1+(3^15);
    A365390list(up_to) = { my(v=vector(up_to),met=Map(),h=0,ak); for(i=1,#v,if(1==vecsum(digits(i,3)), v[i] = i; h = i, ak = v[i-h]; forprime(p=2,,if(3!=p && !mapisdefined(met,p*ak), v[i] = p*ak; break))); mapput(met,v[i],i)); my(invs=List([]),x); for(i=1,oo,if(mapisdefined(met,i,&x), listput(invs,x), if(isprime(i)&&i>4, listput(invs, 1+(3^(primepi(i)-2))), return(Vec(invs))))); };
    v365390 = A365390list(up_to);
    A365390(n) = v365390[n];
    for(n=1,#v365390,print1(A365390(n),", "));
    
  • PARI
    See Links section.

Formula

For all n >= 1, A356867(a(n)) = n.

A364562 Numbers k for which A156552(k) > k.

Original entry on oeis.org

7, 11, 13, 14, 17, 19, 22, 23, 26, 28, 29, 31, 33, 34, 37, 38, 39, 41, 43, 44, 46, 47, 51, 52, 53, 56, 57, 58, 59, 61, 62, 65, 66, 67, 68, 69, 71, 73, 74, 76, 78, 79, 82, 83, 85, 86, 87, 88, 89, 92, 93, 94, 95, 97, 101, 102, 103, 104, 106, 107, 109, 111, 112, 113, 114, 115, 116, 117, 118, 119, 122, 123, 124, 127
Offset: 1

Views

Author

Antti Karttunen, Jul 28 2023

Keywords

Comments

Numbers k such that A005941(k) > k.
If k is a term, then also 2*k is present in this sequence, and vice versa.

Crossrefs

Positions of strictly positive terms in A364559.
Cf. A005941, A156552, A364560 (complement).

Programs

  • PARI
    A156552(n) = { my(f = factor(n), p, p2 = 1, res = 0); for(i = 1, #f~, p = 1 << (primepi(f[i, 1]) - 1); res += (p * p2 * (2^(f[i, 2]) - 1)); p2 <<= f[i, 2]); res };
    isA364562(n) = (A156552(n) > n);
Previous Showing 31-33 of 33 results.