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-8 of 8 results.

A113519 Semiprimes in A056105.

Original entry on oeis.org

9, 22, 134, 177, 226, 482, 737, 1046, 1282, 1681, 1977, 2641, 3202, 3401, 3817, 4034, 4486, 5462, 5721, 6817, 7401, 7702, 8966, 9634, 9977, 10681, 11042, 11409, 12937, 15409, 16726, 17177, 18566, 21506, 28617, 29801
Offset: 1

Views

Author

Jonathan Vos Post, Jan 12 2006

Keywords

Comments

Intersection of A056105 and A001358.

Examples

			A056105(44) = 3*44^2 - 2*44 + 1 = 5721 = 3 * 1907 which is a semiprime.
A056105(24) = 3*24^2 - 2*24 + 1 = 1681 = 41^2 which is a semiprime (the two prime factors need not be distinct).
A056105(100) = 3*100^2 - 2*100 + 1 = 29801 = 17 * 1753, which is a semiprime.
		

Crossrefs

Programs

  • Maple
    for n from 0 to 300 do
        s := 3*n^2-2*n+1 ;
        if isA001358(s) then
            printf("%d,",s) ;
        end if;
    end do: # R. J. Mathar, Jun 30 2020
  • Mathematica
    Select[Array[3 #^2 - 2 # + 1 &, 100], PrimeOmega[#] == 2 &] (* Michael De Vlieger, Mar 17 2021 *)

A113524 Semiprimes in A056106.

Original entry on oeis.org

25, 141, 185, 235, 291, 753, 851, 955, 1565, 1851, 2495, 3235, 3641, 4295, 5251, 5765, 6031, 6865, 8061, 9353, 9691, 10741, 11103, 14215, 14631, 15481, 16355, 16801, 17711, 21085, 25855, 27553, 28131, 28715, 29305, 29901
Offset: 1

Views

Author

Jonathan Vos Post, Jan 12 2006

Keywords

Comments

Intersection of A056106 and A001358.

Examples

			a(1) = 25 because A056106(3) = 25 = 5^2 is semiprime.
a(36) = 29901 because A056106(100) = 29901 = 3 * 9967 is semiprime.
		

Crossrefs

Programs

  • Mathematica
    Select[Array[3 #^2 - # + 1 &, 100], PrimeOmega[#] == 2 &] (* Michael De Vlieger, Mar 17 2021 *)

A113525 Semiprimes in A056107.

Original entry on oeis.org

4, 49, 301, 589, 973, 2353, 2701, 3073, 4333, 5293, 5809, 6349, 6913, 7501, 8749, 9409, 10801, 11533, 13069, 14701, 15553, 16429, 23233, 24301, 25393, 27649, 30001
Offset: 1

Views

Author

Jonathan Vos Post, Jan 12 2006

Keywords

Comments

Intersection of A056107 and A001358.

Examples

			a(1) = 4 because A056107(1) = 3*1^2 + 1 = 4 = 2^2 is semiprime.
a(16) = 9409 because A056107(56) = 3*56^2 + 1 = 9409 = 97^2 is semiprime.
a(27) = 30001 because A056107(100) = 3*100^2 + 1 = 30001 = 19 * 1579 is semiprime.
		

Crossrefs

Programs

  • Mathematica
    Select[Array[3 #^2 + 1 &, 100], PrimeOmega[#] == 2 &] (* Michael De Vlieger, Mar 17 2021 *)

A113527 Semiprimes in A056108.

Original entry on oeis.org

15, 115, 155, 201, 253, 445, 785, 1345, 2215, 3503, 3711, 4145, 4841, 5853, 6395, 7855, 9131, 12353, 13535, 14353, 16503, 18331, 19281, 20255, 20751, 21253, 21761, 23853, 24935, 26603, 29503, 30101
Offset: 1

Views

Author

Jonathan Vos Post, Jan 12 2006

Keywords

Comments

Intersection of A056108 and A001358.

Examples

			a(1) = 15 because A056108(2) = 15 = 3 * 5 is semiprime.
a(2) = 115 because A056108(6) = 115 = 5 * 23 is semiprime.
a(32) = 30101 because A056108(100) = 30101 = 31 * 971 is semiprime.
		

Crossrefs

Programs

  • Mathematica
    Select[Array[3 #^2 + # + 1 &, 100], PrimeOmega[#] == 2 &] (* Michael De Vlieger, Mar 17 2021 *)

Formula

{a(n)} = {3*n^2 + n + 1 iff semiprime}. {a(n)} = A056108 INTERSECT A001358.

A113528 Semiprimes in A056109.

Original entry on oeis.org

6, 34, 57, 86, 121, 209, 262, 321, 386, 706, 1241, 1366, 1497, 2582, 2761, 3334, 3746, 3961, 4881, 5377, 6166, 6722, 7009, 7601, 8857, 9862, 10562, 10921, 12417, 13201, 14422, 15697, 17026, 17481, 17942, 18409, 19361, 19846, 20337, 21337, 22361
Offset: 1

Views

Author

Jonathan Vos Post, Jan 12 2006

Keywords

Comments

Intersection of A056109 and A001358.

Examples

			a(1) = 6 because A056109(1) = 3*1^2 + 2*1 + 1 = 6 = 2 * 3 is semiprime.
		

Crossrefs

Programs

  • Mathematica
    Select[Array[3 #^2 + 2 # + 1 &, 87], PrimeOmega[#] == 2 &] (* Michael De Vlieger, Mar 17 2021 *)

A113653 Isolated semiprimes in the hexagonal spiral.

Original entry on oeis.org

6, 51, 69, 82, 91, 183, 194, 221, 249, 265, 287, 289, 309, 314, 319, 323, 355, 371, 403, 417, 437, 469, 478, 511, 517, 519, 533, 579, 589, 649, 681, 689, 731, 749, 758, 807, 838, 849, 926, 943, 951, 961, 965, 979, 1011, 1018, 1037, 1055, 1057, 1067, 1077, 1099, 1126, 1145, 1149, 1154, 1159
Offset: 1

Views

Author

Jonathan Vos Post, Jan 16 2006

Keywords

Comments

Isolated semiprimes in the hexagonal spiral of A003215 and A001399, which is centered on 0. Of course such a spiral can be constructed beginning with any integer. Centering on 0 gives the interesting partition and multigraph equalities of A001399.
Integers in A001358 which are not adjacent in any of six directions to any other integer in A001358 when arranged in the hexagonal spiral.
An analog of A113688 "Isolated semiprimes in the [square] spiral," and of the hexagonal prime spiral of [Abbott 2005; Weisstein, "Prime Spiral", MathWorld].
Unfortunately the original submission (which has been preserved as the "dead" sequence A335704) omitted the number 44 from the spiral, which has caused an enormous amount of trouble. - N. J. A. Sloane, Jun 27 2020

Examples

			The spiral begins:
                120-119-118-117-116-115-114
                 /                         \
              121  85--84--83-*82*-81--80 113
               /   /                     \   \
            122  86  56--55--54--53--52  79 112
             /   /   /                 \   \   \
          123  87  57  33--32--31--30 *51* 78 111
           /   /   /   /             \   \   \   \
        124  88  58  34  16--15--14  29  50  77 110
         /   /   /   /   /         \   \   \   \   \
      125  89  59  35  17   5---4  13  28  49  76 109
       /   /   /   /   /   /     \   \   \   \   \   \
    126  90  60  36  18  *6*  0   3  12  27  48  75 108
     /   /   /   /   /   /   /   /   /   /   /   /   /
  127 *91* 61  37  19   7   1---2  11  26  47  74 107 146
     \   \   \   \   \   \         /   /   /   /   /   /
    128  92  62  38  20   8---9--10  25  46  73 106 145
       \   \   \   \   \             /   /   /   /   /
      129  93  63  39  21--22--23--24  45  72 105 144
         \   \   \   \                 /   /   /   /
        130  94  64  40--41--42--43--44  71 104 143
           \   \   \                     /   /   /
          131  95  65--66--67--68-*69*-70 103 142
             \   \                         /   /
            132  96--97--98--99-100-101-102 141
               \                             /
              133-134-135-136-137-138-139-140
		

References

  • Abbott, P. (Ed.). "Mathematica One-Liners: Spiral on an Integer Lattice." Mathematica J. 1, 39, 1990.

Crossrefs

For the sequence of isolated primes see A335916.
Related sequences:
A113519 Semiprimes in 1st spoke of a hexagonal spiral starting at 1 (A056105).
A113524 Semiprimes in 2nd spoke of a hexagonal spiral (A056106).
A113525 Semiprimes in 3rd spoke of a hexagonal spiral (A056107).
A113527 Semiprimes in 4th spoke of a hexagonal spiral (A056108).
A113528 Semiprimes in 5th spoke of a hexagonal spiral (A056109).
A113530 Semiprimes in 6th spoke of a hexagonal spiral (A003215).

Extensions

Corrected and edited by N. J. A. Sloane, Jun 27 2020. Thanks to Jeffrey K. Aronson for pointing out the error in the original submission.
Terms a(4) onwards corrected by R. J. Mathar, Jun 29 2020

A335704 Erroneous version of A113653.

Original entry on oeis.org

6, 51, 55, 69, 82, 183, 194, 249, 259, 287, 309, 314, 319
Offset: 1

Views

Author

Keywords

Comments

This is the erroneous version of A113653 that was submitted to the OEIS by Jonathan Vos Post on Jan 16 2006. Because 44 was omitted from the spiral, not only are the terms here incorrect, but a large number of other sequences will also need to be corrected. For this reason the whole of the original submission has been preserved here with a different A-number. - N. J. A. Sloane, Jun 27 2020
Isolated semiprimes in the hexagonal spiral, embedded in the triangular lattice, are the analogy to A113688 "Isolated semiprimes in the [square] spiral," as well as analogous in another way to the hexagonal prime spiral of [Abbott 2005; Weisstein, "Prime Spiral", MathWorld]. A113519 Semiprimes in first spoke of a hexagonal spiral (A056105). A113524 Semiprimes in second spoke of a hexagonal spiral (A056106). A113525 Semiprimes in third spoke of a hexagonal spiral (A056107). A113527 Semiprimes in fourth spoke of a hexagonal spiral (A056108). A113528 Semiprimes in fifth spoke of a hexagonal spiral (A056109). A113530 Semiprimes in sixth spoke of a hexagonal spiral (A003215). This is embedded in the hexagonal spiral of A003215 and A001399, which is centered on zero; of course such a spiral can be constructed beginning with any integer. Centering on zero gives the interesting partition and multigraph equalities of A001399.

Examples

			Copy this as proportionally spaced text, make semiprimes bold, draw boundaries around clumps of adjacent semiprimes. For example, there is a triangular clump of three semiprimes: {4, 14, 15}; a linear clump of three semiprimes {49, 77, 111}; a linear clump of two semiprimes {247, 305}; an irregular clump of seven {115, 155, 201, 202, 203, 253, 254}; a clump of eighteen whose least element is 33 and greatest is 206; and a long branching clump of sixteen whose least element is 9 and greatest is 129.
.................209.208.207.206.205.204.203.202.201
................210.162.161.160.159.158.157.156.155.200
..............211.163.121.120.119.118.117.116.115.154.199
............212.164.122.86..85..84..83..82..81.114.153.198
..........213.165.123.87..57..56..55..54..53..80.113.152.197
........214.166.124.88..58..33..32..31..30..52..79.112.151.196
......215.167.125.89..59..34..16..15..14..29..51..78.111.150.195
....216.168.126.90..60..35..17..5...4...13..28..50..77.110.149.194
..217.169.127.91..61..36..18..6...0...3...12..27..49..76.109.148.193
218.170.128.92..62..37..19..7...1...2...11..26..48..75.108.147.192.243
..219.171.129.93..63..38..20..8...9...10..25..47..74.107.146.191.242
....220.172.130.94..64..39..21..22..23..24..46..73.106.145.190.241
......221.173.131.95..65..40..41..42..43..45..72.105.144.189.240
........222.174.132.96..66..67..68..69..70..71.104.143.188.239
..........223.175.133.97..98..99.100.101.102.103.142.187.238
............224.176.134.135.136.137.138.139.140.141.186.237
..............225.177.178.179.180.181.182.183.184.185.236
................226.227.228.229.230.231.232.233.234.235
		

References

  • Abbott, P. (Ed.). "Mathematica One-Liners: Spiral on an Integer Lattice." Mathematica J. 1, 39, 1990.

Crossrefs

Formula

{a(n)} = {integers in A001358 which are not adjacent in any of six directions to any other integers in A001358 when arranged as the hexagonal spiral of A003215}.

A382628 Centered hexagonal numbers that are sphenic numbers.

Original entry on oeis.org

3367, 4921, 8911, 9919, 10621, 14911, 18487, 21931, 25669, 27937, 37297, 41419, 55081, 63511, 66157, 72541, 80197, 106597, 108871, 113491, 117019, 130417, 134197, 136747, 139321, 174967, 195841, 198919, 203581, 219511, 226051, 232687, 236041, 244531, 247969, 256669, 258427, 269101, 272707, 287371
Offset: 1

Views

Author

Massimo Kofler, Apr 01 2025

Keywords

Comments

All terms are odd.

Examples

			3367 is the 33rd centered hexagonal number and 3367 = 7*13*37 is the product of 3 distinct primes.
8911 is the 54th centered hexagonal number and 8911 = 7*19*67 is the product of 3 distinct primes.
		

Crossrefs

Intersection of A007304 and A003215.
Cf. A113530.

Programs

  • Mathematica
    Select[Table[3*n*(n+1) + 1, {n, 0, 400}], FactorInteger[#][[;; , 2]] == {1, 1, 1} &] (* Amiram Eldar, Apr 01 2025 *)
  • PARI
    select(x->((omega(x)==3) && (bigomega(x)==3)), vector(100, n, 3*n*(n+1) + 1)) \\ Michel Marcus, Apr 02 2025

Formula

a(n) == 1 (mod 6).
Showing 1-8 of 8 results.