login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
Search: keyword:new
Displaying 1-10 of 357 results found. page 1 2 3 4 5 6 7 8 9 10 ... 36
     Sort: relevance | references | number | modified | created      Format: long | short | data
A358952 a(n) = coefficient of x^n in A(x) such that: 0 = Sum_{n=-oo..+oo} x^(2*n) * (x^n - 2*A(x))^(3*n+1). +0
0
1, 2, 18, 124, 1244, 11652, 122153, 1281722, 14009973, 154993908, 1748602308, 19949674928, 230299666100, 2682127476280, 31492460744869, 372295036400060, 4428101312591810, 52949362040059258, 636176332781478365, 7676183282453865394, 92978971123440688904 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Related identity: 0 = Sum_{n=-oo..+oo} x^n * (y - x^n)^n, which holds formally for all y.

LINKS

Paul D. Hanna, Table of n, a(n) for n = 0..200

FORMULA

G.f. A(x) = Sum_{n>=0} a(n)*x^n satisfies:

(1) 0 = Sum_{n=-oo..+oo} x^(2*n) * (x^n - 2*A(x))^(3*n+1).

(2) 0 = Sum_{n=-oo..+oo} x^(3*n*(n-1)) / (1 - 2*A(x)*x^n)^(3*n-1).

a(n) ~ c * d^n / n^(3/2), where d = 13.043520100475... and c = 0.432996977380... - Vaclav Kotesovec, Dec 08 2022

EXAMPLE

G.f.: A(x) = 1 + 2*x + 18*x^2 + 124*x^3 + 1244*x^4 + 11652*x^5 + 122153*x^6 + 1281722*x^7 + 14009973*x^8 + 154993908*x^9 + 1748602308*x^10 + ...

PROG

(PARI) {a(n) = my(A=[1]); for(i=1, n, A=concat(A, 0);

A[#A] = polcoeff( sum(n=-#A, #A, x^(2*n) * (x^n - 2*Ser(A))^(3*n+1) ), #A-1)/2); A[n+1]}

for(n=0, 20, print1(a(n), ", "))

CROSSREFS

Cf. A355865, A358953, A358954, A358955, A358956, A358957, A358958, A358959.

KEYWORD

nonn,new

AUTHOR

Paul D. Hanna, Dec 07 2022

STATUS

approved

A358966 a(n) = n!*Sum_{m=1..floor(n/2)} 1/(m*binomial(n-1,2*m-1)*n). +0
0
0, 0, 1, 1, 5, 9, 70, 178, 2132, 6900, 118536, 462936, 10606752, 48446496, 1397029824, 7305837120, 254261617920, 1498370192640, 61084867115520, 400578023738880, 18717879561984000, 135203360447232000, 7123176975979008000, 56195977439927808000 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,5

LINKS

Table of n, a(n) for n=0..23.

FORMULA

E.g.f.: (-Li_2(2*x-x^2)-2*Li_2(-x))/(2*x-2).

PROG

(Maxima)

a(n):=n!*sum(1/(m*(binomial(n-1, 2*m-1))*n), m, 1, floor(n/2));

KEYWORD

nonn,new

AUTHOR

Vladimir Kruchinin, Dec 07 2022

STATUS

approved

A354947 Number of primes adjacent to prime(n) in a hexagonal spiral of positive integers. +0
0
2, 2, 0, 2, 1, 1, 0, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 2, 0, 1, 0, 0, 0, 0, 0, 2, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..88.

Dimitri Tishchenko, Hexagon Prime Spiral

EXAMPLE

The spiral begins

13--12--11

/ \

14 4---3 10

/ / \ \

15 5 1---2 9

\ \ /

16 6---7---8

\

17--18--19--...

For n=4, prime(4) = 7 in the spiral has a(3) = 2 primes adjacent (2 and 19).

CROSSREFS

Cf. A307011, A307013 (spiral coordinates), A056105 (spiral first spoke).

KEYWORD

nonn,easy,new

AUTHOR

Wade Reece Eberly, Sep 23 2022

STATUS

approved

A358318 For n >= 5, a(n) is the number of zeros that need to be inserted to the left of the ones digit of the n-th prime so that the result is composite. +0
0
2, 2, 2, 4, 1, 1, 1, 2, 3, 1, 1, 3, 3, 2, 3, 5, 1, 2, 1, 3, 5, 1, 1, 1, 3, 3, 1, 3, 3, 1, 4, 1, 1, 1, 3, 1, 2, 2, 3, 1, 2, 1, 1, 3, 2, 1, 1, 2, 1, 1, 1, 1, 2, 1, 2, 5, 2, 2, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 6, 1, 2, 2, 1, 2, 2, 1, 1, 2, 1, 1, 1, 1, 2, 3, 1, 2, 1, 1, 1, 1, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET

5,1

COMMENTS

Conjecture: the sequence is bounded.

LINKS

Table of n, a(n) for n=5..95.

FORMULA

If a(n) > 1 then a(pi(k)) = a(n) - 1 where k = 100*floor(p/10) + p mod 10 and p = prime(n) (i.e., k is the result when a single 0 is inserted to the left of the ones digit of p).

EXAMPLE

For n = 8, prime(8) is 19. 109, 1009, and 10009 are all primes, while 100009 is not, thus a(8) = 4.

For n = 30, prime(30) is 113. 1103 and 11003 are prime, while 110003 is not, thus a(30) = 3.

MATHEMATICA

a[n_] := Module[{p = Prime[n], c = 1, q, r}, r = Mod[p, 10]; q = 10*(p - r); While[PrimeQ[q + r], q *= 10; c++]; c]; Array[a, 100, 5] (* Amiram Eldar, Nov 27 2022 *)

PROG

(Python)

from sympy import isprime, prime

def a(n):

s, c = str(prime(n)), 1

while isprime(int(s[:-1] + '0'*c + s[-1])): c += 1

return c

print([a(n) for n in range(5, 92)]) # Michael S. Branicky, Nov 09 2022

CROSSREFS

Cf. A000040, A344637.

KEYWORD

nonn,base,new

AUTHOR

Rida Hamadani, Nov 09 2022

STATUS

approved

A358972 a(n) = ((...((n!^(n-1)!)^(n-2!))^...)^2!)^1!. +0
0
1, 2, 36, 36520347436056576 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Like n!^(n-1!)^...^2!^1!, but with all power operators nested from the left.

This sequence grows roughly doubly-exponentially. - Charles R Greathouse IV, Dec 07 2022

LINKS

Table of n, a(n) for n=1..4.

FORMULA

a(n) = n!^A000178(n-1). - Charles R Greathouse IV, Dec 07 2022

log log a(n) ~ 0.5*n^2*log^2 n. - Charles R Greathouse IV, Dec 07 2022

EXAMPLE

a(4) = 4!^3!^2!^1! = 24^6^2 = 191102976^2 = 36520347436056576

CROSSREFS

Cf. A067039.

KEYWORD

nonn,new

AUTHOR

Arsen Vardanyan, Dec 07 2022

STATUS

approved

A358973 Numbers of the form m + omega(m) with m a positive integer. +0
0
1, 3, 4, 5, 6, 8, 9, 10, 12, 14, 16, 17, 18, 20, 22, 23, 24, 26, 28, 30, 32, 33, 35, 36, 37, 38, 40, 41, 42, 44, 45, 46, 47, 48, 50, 52, 53, 54, 56, 57, 58, 59, 60, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 74, 76, 77, 78, 79, 80, 81, 82 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..62.

Petr Kucheriaviy, On numbers not representable as n + ω(n), arXiv preprint (2022). arXiv:2203.12006 [math.NT]

FORMULA

Kucheriaviy proves that a(n) << n log log n and conjectures that a(n) ≍ n, that is, these numbers have positive lower density.

PROG

(PARI) list(lim)=my(v=List()); forfactored(n=1, lim\1-1, my(t=n[1]+omega(n)); if(t<=lim, listput(v, t))); Set(v)

CROSSREFS

Cf. A337455.

KEYWORD

nonn,new

AUTHOR

Charles R Greathouse IV, Dec 07 2022

STATUS

approved

A358892 Numbers obtained by self-shuffling the binary expansion of nonnegative numbers. +0
0
0, 3, 10, 12, 15, 36, 40, 43, 45, 48, 51, 53, 54, 58, 60, 63, 136, 144, 147, 149, 153, 160, 163, 165, 169, 170, 172, 175, 178, 180, 183, 187, 192, 195, 197, 201, 202, 204, 207, 210, 212, 215, 216, 219, 221, 228, 232, 235, 237, 238, 240, 243, 245, 246, 250, 252 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

This sequence lists the distinct values in A358893, in ascending order.

For any n > 0, there are A191755(n)/2 terms with binary length 2*n.

All terms are evil (A001969) and have an even number of binary digits (A053754).

LINKS

Table of n, a(n) for n=1..56.

Rémy Sigrist, PARI program

Index entries for sequences related to binary expansion of n

EXAMPLE

The binary expansion of 204 is "11001100" and can be obtained by self-shuffling the binary expansion of 10 ("1010") or 12 ("1100"), so 204 is a term.

PROG

(PARI) See Links section.

CROSSREFS

Cf. A001969, A053754, A191755, A358893.

KEYWORD

nonn,base,new

AUTHOR

Rémy Sigrist, Dec 05 2022

STATUS

approved

A358893 Irregular triangle T(n, k), n >= 0, k = 1..A193020(n), read by rows: the n-th row lists the numbers obtained by self-shuffling the binary expansion of n. +0
0
0, 3, 10, 12, 15, 36, 40, 48, 43, 45, 51, 53, 54, 58, 60, 63, 136, 144, 160, 192, 147, 149, 153, 163, 165, 169, 195, 197, 201, 170, 172, 178, 180, 202, 204, 210, 212, 175, 183, 187, 207, 215, 219, 204, 212, 216, 228, 232, 240, 219, 221, 235, 237, 243, 245 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

See A358892 for the distinct values.

n and T(n, k) have the same parity.

LINKS

Rémy Sigrist, Table of n, a(n) for n = 0..4768 (rows for n = 0..127 flattened)

Rémy Sigrist, PARI program

Index entries for sequences related to binary expansion of n

FORMULA

T(n, 1) = A330940(n).

T(n, A193020(n)) = A330941(n).

EXAMPLE

Triangle T begins (in decimal):

n n-th row

-- --------

0 0,

1 3,

2 10, 12,

3 15,

4 36, 40, 48,

5 43, 45, 51, 53,

6 54, 58, 60,

7 63,

8 136, 144, 160, 192,

9 147, 149, 153, 163, 165, 169, 195, 197, 201,

...

Triangle T begins (in binary):

n n-th row

---- --------

0 0,

1 11,

10 1010, 1100,

11 1111,

100 100100, 101000, 110000,

101 101011, 101101, 110011, 110101,

110 110110, 111010, 111100,

111 111111,

1000 10001000, 10010000, 10100000, 11000000,

...

PROG

(PARI) See Links section.

CROSSREFS

Cf. A193020 (row lengths), A330940, A330941, A358892.

KEYWORD

nonn,base,tabf,new

AUTHOR

Rémy Sigrist, Dec 05 2022

STATUS

approved

A358925 Numbers whose first occurrence in Stern's diatomic series (A002487) is later than that of one of their proper multiples. +0
0
54, 2052, 4060, 23184, 54425, 109854, 121392, 126866, 249180, 317810, 323284, 330612, 363552, 384834, 416020, 476528, 512937, 537402, 537988, 544178, 558085, 601492, 739033, 743862, 785888, 832039, 930249, 982860, 984544, 1201692, 1203954, 1204276, 1207300 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Equivalently, numbers m such that A020946(m) > A020946(m*k) for some k > 1.

For the first 38 terms, k = 2.

LINKS

Table of n, a(n) for n=1..33.

Rémy Sigrist, C program

Rémy Sigrist, C++ program

Index entries for sequences related to Stern's sequences

EXAMPLE

A020946(54) = 1275, but A020946(2*54) = 1173 is smaller, so 54 belongs to this sequence.

PROG

(C) See Links section.

(C++) See Links section.

CROSSREFS

Cf. A002487, A020946.

KEYWORD

nonn,new

AUTHOR

Rémy Sigrist, Dec 06 2022

STATUS

approved

A358935 a(n) is the least k > 0 such that fusc(n) = fusc(n + k) or fusc(n) = fusc(n - k) (provided that n - k >= 0), where "fusc" is Stern's diatomic series (A002487). +0
0
1, 1, 3, 2, 2, 3, 2, 4, 6, 3, 2, 6, 2, 4, 3, 8, 4, 3, 4, 6, 6, 4, 2, 12, 2, 4, 6, 8, 4, 6, 3, 16, 30, 3, 12, 6, 4, 8, 18, 12, 4, 12, 10, 8, 6, 4, 2, 24, 2, 4, 6, 8, 10, 12, 4, 16, 18, 7, 4, 12, 9, 6, 3, 32, 7, 3, 7, 6, 12, 9, 8, 12, 46, 7, 12, 11, 12, 21, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

Every positive integer appears infinitely many times in A002487, hence the sequence is well defined.

LINKS

Rémy Sigrist, Table of n, a(n) for n = 1..8192

Rémy Sigrist, PARI program

Index entries for sequences related to Stern's sequences

FORMULA

a(2^k) = 2^(k-1) for any k > 0.

a(n) = 2 iff n belongs to A097581 \ {2}.

EXAMPLE

The first terms, alongside fusc(n) and the direction where to find the same value, are:

n a(n) fusc(n) dir

-- ---- ------- ---

1 1 1 +

2 1 1 -

3 3 2 +

4 2 1 -

5 2 3 +

6 3 2 -

7 2 3 -

8 4 1 -

9 6 4 +

10 3 3 -

11 2 5 +

12 6 2 -

PROG

(PARI) See Links section.

CROSSREFS

Cf. A002487, A097581.

KEYWORD

nonn,new

AUTHOR

Rémy Sigrist, Dec 07 2022

STATUS

approved

page 1 2 3 4 5 6 7 8 9 10 ... 36

Search completed in 0.104 seconds

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 8 06:47 EST 2022. Contains 358673 sequences. (Running on oeis4.)