login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
Search: keyword:new
Displaying 1-10 of 409 results found. page 1 2 3 4 5 6 7 8 9 10 ... 41
     Sort: relevance | references | number | modified | created      Format: long | short | data
A343845 a(n) = Sum_{k=0..floor(n/2)} A109449(n-k, k). +0
0
1, 1, 2, 4, 9, 27, 93, 392, 1898, 10493, 64885, 443916, 3326317, 27085015, 238073306, 2246348560, 22643042325, 242808804441, 2759740869777, 33138397797908, 419171443909394, 5570771017483187, 77603014042711369, 1130712331125929112, 17198408830271090233 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

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

FORMULA

a(n) ~ 2^(n+2) * n! / Pi^(n+1). - Vaclav Kotesovec, May 06 2021

MAPLE

seq(add(A109449(n-k, k), k = 0..n/2), n = 0..25);

MATHEMATICA

Table[Sum[Binomial[n-k, k] * 2^(n-2*k) * Abs[EulerE[n-2*k, 1/2] + EulerE[n-2*k, 1]], {k, 0, Floor[n/2]}] - (1 + (-1)^n)/2, {n, 0, 25}] (* Vaclav Kotesovec, May 06 2021 *)

CROSSREFS

Cf. A109449.

KEYWORD

nonn,new

AUTHOR

Peter Luschny, May 06 2021

STATUS

approved

A343183 A343182(n) converted from base 2 to base 10. +0
0
0, 4, 100, 27748, 1826909284, 7846656366854040676, 144745261873314177466380711909411548260, 49254260310842419635956203183145610297181518175722645092459215139793457671268 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

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

CROSSREFS

Cf. A014577, A337580, A343181, A343182.

KEYWORD

nonn,new

AUTHOR

N. J. A. Sloane, May 06 2021

STATUS

approved

A343843 a(n) = Sum_{k=0..n} (-1)^k*binomial(n, k)*A000831(k). +0
0
1, -1, 1, -9, 33, -241, 1761, -15929, 161473, -1853281, 23584321, -330371049, 5047404513, -83546832721, 1489242229281, -28442492633369, 579425286625153, -12541705195066561, 287434687338368641, -6953491183101074889, 177069197398959999393, -4734481603905334522801 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

LINKS

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

FORMULA

a(n) = (-2)^n*Sum_{k=0..n} A109449(n, k)*(-1/2)^k.

From Vaclav Kotesovec, May 06 2021: (Start)

a(n) ~ (-1)^n * exp(-Pi/4) * 4^(n+1) * n! / Pi^(n+1).

E.g.f.: exp(x)*(1 - tan(x))/(1 + tan(x)). (End)

MAPLE

a := n -> add((-1)^k*binomial(n, k)*A000831(k), k=0..n):

seq(a(n), n = 0..21);

MATHEMATICA

Table[-1 + Sum[(-1)^k * Binomial[n, k] * 4^k * Abs[EulerE[k, 1/2] + EulerE[k, 1]], {k, 0, n}], {n, 0, 20}] (* Vaclav Kotesovec, May 06 2021 *)

CROSSREFS

Cf. A000831, A000834, A109449.

KEYWORD

sign,new

AUTHOR

Peter Luschny, May 06 2021

STATUS

approved

A343846 a(n) = binomial(2*n, n)*2^n*|Euler(n, 1/2) - Euler(n, 0)|. +0
0
0, 2, 6, 40, 350, 4032, 56364, 933504, 17824950, 385848320, 9334057876, 249576198144, 7308698191340, 232643283353600, 7997684730384600, 295306112919306240, 11655857682806336550, 489743069731226910720, 21824608434847162167300, 1028154317960939805081600 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

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

FORMULA

a(n) = binomial(2*n, n) * |Euler(n) - 2^n*Euler(n, 0)|.

a(n) = A109449(2*n, n) for n >= 1.

a(n) = (-1)^binomial(n, 2) * binomial(2*n, n) * A163747(n).

a(n) ~ 2^(3*n + 5/2) * n^n / (Pi^(n+1) * exp(n)). - Vaclav Kotesovec, May 06 2021

MAPLE

a := n -> binomial(2*n, n)*abs(euler(n) - 2^n*euler(n, 0)):

seq(a(n), n=0..19);

MATHEMATICA

Table[Binomial[2*n, n]*Abs[EulerE[n] - 2^n*EulerE[n, 0]], {n, 0, 20}] (* Vaclav Kotesovec, May 06 2021 *)

CROSSREFS

Cf. A109449, A163747.

KEYWORD

nonn,new

AUTHOR

Peter Luschny, May 06 2021

STATUS

approved

A343182 Binary word formed from first 2^n-1 terms of paper-folding sequence A014577, reversed and complemented. +0
0
0, 100, 1100100, 110110001100100, 1101100111001000110110001100100, 110110011100100111011000110010001101100111001000110110001100100 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Take a sheet of paper, and fold the right edge up and onto the left edge. Do this n times. and unfold. Write a 0 for every valley and a 1 for every ridge, and read the sequence backwards.

a(7) is too large to include in the DATA section.

REFERENCES

Chandler Davis and Donald E. Knuth, Number Representations and Dragon Curves -- I and II, Journal of Recreational Mathematics, volume 3, number 2, April 1970, pages 66-81, and number 3, July 1970, pages 133-149. Reprinted in Donald E. Knuth, Selected Papers on Fun and Games, CSLI Publications, 2010, pages 571-614.

Sunggye Lee, Jinsoo Kim, and Won Choi, Relation between folding and un-folding paper of rectangle and (0,1)-pattern [Korean], J. Korean Soc. Math. Ed. Ser. E, 23(3) (2009), 507-522.

Rémy Sigrist and N. J. A. Sloane, Two-Dimensional Paper-Folding, Manuscript in preparation, May 2021.

LINKS

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

CROSSREFS

When converted to base 10 we get A343183.

Cf. A014577. A variant of A343181.

KEYWORD

nonn,new

AUTHOR

N. J. A. Sloane, May 06 2021

STATUS

approved

A343977 Numbers k such that k | 11^k + 7^k + 5^k + 3^k + 2^k. +0
0
1, 2, 4, 7, 26, 49, 338, 343, 2401, 4394, 7076, 15043, 16807, 17764, 57122, 117649, 226723, 241484, 295687, 742586, 818974, 823543, 826973, 1456511, 2040506, 2806769, 3472189, 5764801, 6321233, 9653618, 32036249, 40353607, 89758063, 107884133, 125497034, 126090551, 132590423 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

This sequence is infinite as it contains 7^n. - David A. Corneth, May 06 2021

LINKS

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

MAPLE

q:= k-> is(0=11&^k+7&^k+5&^k+3&^k+2&^k mod k):

select(q, [$1..100000])[];  # Alois P. Heinz, May 06 2021

MATHEMATICA

q[k_] := Divisible[Plus @@ (PowerMod[#, k, k] & /@ {2, 3, 5, 7, 11}), k]; Select[Range[10^6], q] (* Amiram Eldar, May 06 2021 *)

PROG

(PARI) is(n) = lift(Mod(11, n)^n + Mod(7, n)^n + Mod(5, n)^n + Mod(3, n)^n + Mod(2, n)^n) == 0 \\ David A. Corneth, May 06 2021

CROSSREFS

Cf. A000420, A045576, A220170.

KEYWORD

nonn,new

AUTHOR

Zak Seidov, May 06 2021

EXTENSIONS

a(24)-a(37) from Alois P. Heinz, May 06 2021

STATUS

approved

A343950 Number of ways to write n as x + y + z with x^2 + 4*y^2 + 5*z^2 a square, where x,y,z are positive integers with y or z a positive power of two. +0
0
0, 0, 0, 1, 1, 0, 0, 3, 1, 2, 2, 2, 3, 1, 4, 3, 2, 3, 3, 4, 4, 2, 1, 4, 6, 4, 2, 3, 12, 5, 3, 5, 8, 4, 5, 5, 8, 4, 7, 4, 4, 4, 7, 5, 5, 1, 4, 6, 5, 6, 6, 10, 7, 4, 9, 5, 10, 16, 7, 7, 9, 6, 5, 5, 14, 8, 6, 6, 3, 7, 1, 5, 4, 10, 5, 7, 10, 8, 13, 10, 3, 4, 8, 5, 12, 7, 20, 9, 12, 5, 8, 1, 9, 4, 8, 9, 8, 7, 4, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,8

COMMENTS

Conjecture 1: a(n) > 0 for all n > 7.

We have verified a(n) > 0 for all n = 8..50000. Clearly, a(2*n) > 0 if a(n) > 0.

Conjecture 2: For any integer n > 7, we can write n as x + y + z with x,y,z positive integers such that x^2 + 2*y^2 + 3*z^2 is a square.

Conjecture 3: For any integer n > 4, we can write n as x + y + z with x,y,z positive integers such that 3*x^2 + 4*y^2 + 5*z^2 (or x^2 + 3*y^2 + 5*z^2) is a square.

LINKS

Zhi-Wei Sun, Table of n, a(n) for n = 1..3200

Zhi-Wei Sun, Refining Lagrange's four-square theorem, J. Number Theory 175(2017), 167-190. See also arXiv:1604.06723 [math.NT].

EXAMPLE

a(4) = 1, and 4 = 1 + 1 + 2 with 1^2 + 4*1^2 + 5*2^2 = 5^2.

a(5) = 1, and 5 = 2 + 2 + 1 with 2^2 + 4*2^2 + 5*1^2 = 5^2.

a(9) = 1, and 9 = 4 + 1 + 4 with 4^2 + 4*1^2 + 5*4^2 = 10^2.

a(14) = 1, and 14 = 7 + 5 + 2 with 7^2 + 4*5^2 + 5*2^2 = 13^2.

a(23) = 1, and 23 = 7 + 8 + 8 with 7^2 + 4*8^2 + 5*8^2 = 25^2.

a(46) = 1, and 46 = 14 + 16 + 16 with 14^2 + 4*16^2 + 5*16^2 = 50^2.

a(71) = 1, and 71 = 42 + 8 + 21 with 42^2 + 4*8^2 + 5*21^2 = 65^2.

a(92) = 1, and 92 = 28 + 32 + 32 with 28^2 + 4*32^2 + 5*32^2 = 100^2.

a(142) = 1, and 142 = 84 + 16 + 42 with 84^2 + 4*16^2 + 5*42^2 = 130^2.

MATHEMATICA

PowQ[n_]:=PowQ[n]=n>1&&IntegerQ[Log[2, n]];

SQ[n_]:=SQ[n]=IntegerQ[Sqrt[n]];

tab={}; Do[r=0; Do[If[(PowQ[y]||PowQ[n-x-y])&&SQ[x^2+4*y^2+5*(n-x-y)^2], r=r+1], {x, 1, n-3}, {y, 1, n-1-x}]; tab=Append[tab, r], {n, 1, 100}]; Print[tab]

CROSSREFS

Cf. A000079, A000290, A271510, A271513, A271518, A230121, A230747.

KEYWORD

nonn,new

AUTHOR

Zhi-Wei Sun, May 05 2021

STATUS

approved

A343973 Primes p such that both p-1 and p+1 are in A093641. +0
0
2, 3, 5, 7, 11, 13, 23, 47, 193, 383 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Primes p such that p-1 and p+1 each have at most one odd prime factor (counted by multiplicity).

Terms > 3 must be either of the form 3*2^k+1 with 3*2^(k-1)+1 prime, or of the form 3*2^k-1 with 3*2^(k-1)-1 prime.

There are no more terms up to 3*2^5000+1.

Conjecture: these are all the terms.

LINKS

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

EXAMPLE

a(5) = 11 is a term because 11-1=5*2^1 and 11+1=3*2^2 with 11, 5 and 3 prime.

MAPLE

{3, 7} union select(t -> isprime(t) and isprime((t+1)/2), {seq(3*2^k+1, k=1..3000)})

union select(t -> isprime(t) and isprime((t-1)/2), {seq(3*2^k-1, k=1..3000)});

CROSSREFS

Cf. A093641.

KEYWORD

nonn,more,new

AUTHOR

J. M. Bergot and Robert Israel, May 05 2021

STATUS

approved

A343891 List of primitive triples (a, b, c) for integer-sided triangles where side a is the harmonic mean of the 2 other sides b and c, i.e., 2/a = 1/b + 1/c with b < a < c. +0
0
4, 3, 6, 12, 10, 15, 15, 12, 20, 21, 15, 35, 24, 21, 28, 35, 30, 42, 40, 36, 45, 45, 35, 63, 55, 40, 88, 56, 44, 77, 60, 55, 66, 63, 56, 72, 72, 52, 117, 77, 63, 99, 80, 65, 104, 84, 78, 91, 91, 70, 130, 99, 90, 110, 105, 77, 165, 112, 105, 120, 117, 99, 143, 120, 85, 204, 132, 102, 187 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The triples (a, b, c) are displayed in increasing order of side a, and if sides a coincide then in increasing order of the side b.

When sides satisfy 2/a = 1/b + 1/c, or a = 2*b*c/(b+c) then a is always the middle side with b < a < c.

Equivalent relations: the heights and sines satisfy 2*h_a = h_b + h_c and 2/sin(A) = 1/sin(B) + 1/sin(C).

Inequalities between sides: a/2 < b < a < c < b*(1+sqrt(2)).

REFERENCES

V. Lespinard & R. Pernet, Trigonométrie, Classe de Mathématiques élémentaires, programme 1962, problème B-337 p. 179, André Desvigne.

LINKS

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

EXAMPLE

(4, 3, 6) is the first triple with 2/4 = 1/3 + 1/6 and 6-4 < 3 < 6+4.

The table begins:

   4,  3,  6;

  12, 10, 15;

  15, 12, 20;

  21, 15, 35;

  24, 21, 28;

  35, 30, 42;

  ...

MAPLE

for a from 4 to 200 do

for b from floor(a/2)+1 to a-1 do

c := a*b/(2*b-a);

if c=floor(c) and igcd(a, b, c)=1 and c-b<a then print(a, b, c); end if;

end do;

end do;

CROSSREFS

Cf. A020883 (side a), A343892 (side b), A343893 (side c), A343894 (perimeter).

KEYWORD

nonn,tabf,new

AUTHOR

Bernard Schott, May 03 2021

STATUS

approved

A343934 Irregular triangle read by rows: row n gives the sequence of iterations of k - A006519(k), starting with k=n, until 0 is reached. +0
0
1, 2, 3, 2, 4, 5, 4, 6, 4, 7, 6, 4, 8, 9, 8, 10, 8, 11, 10, 8, 12, 8, 13, 12, 8, 14, 12, 8, 15, 14, 12, 8, 16, 17, 16, 18, 16, 19, 18, 16, 20, 16, 21, 20, 16, 22, 20, 16, 23, 22, 20, 16, 24, 16, 25, 24, 16, 26, 24, 16, 27, 26, 24, 16, 28, 24, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Row n starts with n, then the lowest power of 2 dividing n is subtracted to produce the next entry in the row.

n first appears at position A000788(n)+1.

LINKS

Peter Kagey, Rows n = 1..1023, flattened

EXAMPLE

The triangle begins

1

2

3 2

4

5 4

6 4

7 6 4

MATHEMATICA

Table[Most @ NestWhileList[# - 2^IntegerExponent[#, 2] &, n, # > 0 &], {n, 1, 30}] // Flatten (* Amiram Eldar, May 05 2021 *)

PROG

(Python)

def gen_a():

    for n in range(1, 100):

        k = n

        while k>0:

            yield k

            k = k & (k-1)

a = gen_a()

CROSSREFS

Cf. A000120 (row widths), A000788, A006519, A129760.

KEYWORD

nonn,easy,tabf,new

AUTHOR

Christian Perfect, May 04 2021

STATUS

approved

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

Search completed in 0.125 seconds

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 6 19:23 EDT 2021. Contains 343586 sequences. (Running on oeis4.)