From zakseidov at yahoo.com Wed Nov 1 06:43:12 2006
From: zakseidov at yahoo.com (zak seidov)
Date: Tue, 31 Oct 2006 21:43:12 -0800 (PST)
Subject: A065577 Number of Goldbach partitions of 10^n? More terms?
Message-ID: <20061101054313.25333.qmail@web38210.mail.mud.yahoo.com>
Dear seqfans,
Bob, Ivars,
In A065577,
a(1)=2 because 10=3+7=5+5?
Also a(2)=6 because
100=3+97=11+89=17+83=29+71=41+59=47+53?
The point is that in Ivars Peterson's
"Goldbach's Prime Pairs"
http://www.maa.org/mathland/mathtrek_8_21_00.html
we read:
"
Note that Goldbach partitions take into account the
order of the primes that are summed. For example, 10
has two Goldbach partitions: 3 + 7 and 7 + 3.
Integer No. of Goldbach partitions
10 2
100 6
1,000 28
10,000 127
100,000 810
1,000,000 5,402
10,000,000 38,807
100,000,000 291,400
"
Me: But in A065577 a(1)=2 and a(2)=6
(and also other terms as I checked them)
without taking into account
the order of the primes
that are summed(?!)
Can anyoone (Bob? Ivars?) clarify this?
Thanks, Zak
BTW Two next terms are calculated by me
(for n=9, 10) as 2274205, 18200487.
Can anyone check these?
Thanks, Zak
%I A065577
%S A065577 2,6,28,127,810,5402,38807,291400
%N A065577 Number of Goldbach partitions of 10^n.
%H A065577 Ivars Peterson's MathTrek, Goldbach's
Prime Pairs
%H A065577 Science News Online, week of Aug. 19, 2000;
Vol. 158, No. 8 Goldbach's Prime Pairs
%A A065577 Robert G. Wilson v (rgwv(AT)rgwv.com), Dec
01 2001
____________________________________________________________________________________
Low, Low, Low Rates! Check out Yahoo! Messenger's cheap PC-to-Phone call rates
(http://voice.yahoo.com)
From ralf at ark.in-berlin.de Wed Nov 1 10:35:28 2006
From: ralf at ark.in-berlin.de (Ralf Stephan)
Date: Wed, 1 Nov 2006 10:35:28 +0100
Subject: Re^2: Error-finding program
In-Reply-To: <200610312150.k9VLoKfn018613@amer.strw.leidenuniv.nl>
References: <200610312150.k9VLoKfn018613@amer.strw.leidenuniv.nl>
Message-ID: <20061101093528.GA19017@ark.in-berlin.de>
> The definitions of A026468 and A026469 are
> a(n) = least positive integer > a(n-1) and not a(i)^2 + a(j)^2 for 1<=i<=j<=n.
> and
> a(n) = least positive integer > a(n-1) and not a(i)^2 + a(j)^2 for 1<=i<=j<=n.
> which looks quite identical. So why can A026468/9 be two different
> sequences? Is there a "not" too much or too little, or rather one of the
> "less-equal" signs to be corrected to "less" or a starting condition on a(2)
> to be added?
My guess is that Clark started the same algorithm with 1, 2 and then
tried it with starting values 1, 3, so the definition of A026469 should
be amended with ", starting with 1, 3".
ralf
From njas at research.att.com Wed Nov 1 14:16:47 2006
From: njas at research.att.com (N. J. A. Sloane)
Date: Wed, 1 Nov 2006 08:16:47 -0500 (EST)
Subject: Re^2: Error-finding program
References: <200610312150.k9VLoKfn018613@amer.strw.leidenuniv.nl>
Message-ID: <200611011316.IAA53531@fry.research.att.com>
Ralf, I think you've solved it! Thanks! Neil
My guess is that Clark started the same algorithm with 1, 2 and then
tried it with starting values 1, 3, so the definition of A026469 should
be amended with ", starting with 1, 3".
From mathar at strw.leidenuniv.nl Wed Nov 1 14:17:58 2006
From: mathar at strw.leidenuniv.nl (Richard Mathar)
Date: Wed, 1 Nov 2006 14:17:58 +0100
Subject: A065577 Number of Goldbach partitions of 10^n?
Message-ID: <200611011317.kA1DHwmp018846@amer.strw.leidenuniv.nl>
zs> From seqfan-owner at ext.jussieu.fr Wed Nov 1 06:44:53 2006
zs> Return-Path:
zs> Date: Tue, 31 Oct 2006 21:43:12 -0800 (PST)
zs> From: zak seidov
zs> Subject: A065577 Number of Goldbach partitions of 10^n? More terms?
zs> To: seqfan at ext.jussieu.fr, ip at sciserv.org, rgwv at rgwv.com
zs>
zs> Dear seqfans,
zs> Bob, Ivars,
zs>
zs> In A065577,
zs> a(1)=2 because 10=3+7=5+5?
zs> Also a(2)=6 because
zs> 100=3+97=11+89=17+83=29+71=41+59=47+53?
zs> ....
One might call A065577 explicitly the partitions without regard to order. The
conversion between the two counts is simple, see
http://mathworld.wolfram.com/GoldbachPartition.html
The table of n, ordered, and non-ordered partitions is
1, 3, 2
2, 12, 6
3, 56, 28
4, 254, 127
5, 1620, 810
6, 10804, 5402
7, 77614, 38807
with the ordered partitions in the OEIS as A073610, the non-ordered in A061358 (?)
(Cf from A065577 to these two might also help to show the difference,
A065577(n)=A061358(10^n).)
With the exception of the n=1 leading term, the count of the
ordered partitions is twice that of the non-ordered partitions,
because 10^n/2 is not a prime then.
The Maple program to print the small table above:
A065577 := proc(n,orderd)
local N,a,i,ip;
N := 10^n ;
a := 0 ;
i := 1 ;
ip := 2 ;
while 2*ip <= N do
if isprime(N-ip) then
if orderd and ip <> N-ip then
a := a+ 2;
else
a := a+ 1;
fi ;
fi ;
i := i+1 ;
ip := ithprime(i) ;
od ;
RETURN(a) ;
end:
for n from 1 to 20 do
print(n,A065577(n,true),A065577(n,false)) ;
od ;
In PARI
A065577(n)={
local(N,a,i,ip);
N = 10^n ;
a = 0 ;
i = 1 ;
ip = 2 ;
while(2*ip <= N,
if(isprime(N-ip),
a++ ;
) ;
i++ ;
\\ip = prime(i) ; \\ slower and needs -p switch
ip = nextprime(ip+1) ; \\ pseudoprimes only
) ;
return(a) ;
}
{
for(n=1,20,
print(n," ",A065577(n)) ;
)
}
The PARI output confirms the n=9 case quoted by Zak (I've not gone to n=10):
1 2
2 6
3 28
4 127
5 810
6 5402
7 38807
8 291400
9 2274205
-- Richard
From zakseidov at yahoo.com Wed Nov 1 15:29:37 2006
From: zakseidov at yahoo.com (zak seidov)
Date: Wed, 1 Nov 2006 06:29:37 -0800 (PST)
Subject: A065577 Number of Goldbach partitions of 10^n?
In-Reply-To: <200611011317.kA1DHwmp018846@amer.strw.leidenuniv.nl>
Message-ID: <20061101142937.98860.qmail@web38214.mail.mud.yahoo.com>
Richard,
thanks for your reply.
It seems this'd concern mainly Ivars!
Also could you please calculate cases n>=10) -
I guess this'd not take for you hours(days!)
as with my Mathematica.
thanks, Zak
--- Richard Mathar wrote:
>
> zs> From seqfan-owner at ext.jussieu.fr Wed Nov 1
> 06:44:53 2006
> zs> Return-Path:
> zs> Date: Tue, 31 Oct 2006 21:43:12 -0800 (PST)
> zs> From: zak seidov
> zs> Subject: A065577 Number of Goldbach partitions
> of 10^n? More terms?
> zs> To: seqfan at ext.jussieu.fr, ip at sciserv.org,
> rgwv at rgwv.com
> zs>
> zs> Dear seqfans,
> zs> Bob, Ivars,
> zs>
> zs> In A065577,
> zs> a(1)=2 because 10=3+7=5+5?
> zs> Also a(2)=6 because
> zs> 100=3+97=11+89=17+83=29+71=41+59=47+53?
> zs> ....
>
> One might call A065577 explicitly the partitions
> without regard to order. The
> conversion between the two counts is simple, see
> http://mathworld.wolfram.com/GoldbachPartition.html
>
> The table of n, ordered, and non-ordered partitions
> is
>
> 1, 3, 2
> 2, 12, 6
> 3, 56, 28
> 4, 254, 127
> 5, 1620, 810
> 6, 10804, 5402
> 7, 77614, 38807
>
> with the ordered partitions in the OEIS as A073610,
> the non-ordered in A061358 (?)
> (Cf from A065577 to these two might also help to
> show the difference,
> A065577(n)=A061358(10^n).)
> With the exception of the n=1 leading term, the
> count of the
> ordered partitions is twice that of the non-ordered
> partitions,
> because 10^n/2 is not a prime then.
>
> The Maple program to print the small table above:
>
> A065577 := proc(n,orderd)
> local N,a,i,ip;
> N := 10^n ;
> a := 0 ;
> i := 1 ;
> ip := 2 ;
> while 2*ip <= N do
> if isprime(N-ip) then
> if orderd and ip <> N-ip then
> a := a+ 2;
> else
> a := a+ 1;
> fi ;
> fi ;
> i := i+1 ;
> ip := ithprime(i) ;
> od ;
> RETURN(a) ;
> end:
>
> for n from 1 to 20 do
> print(n,A065577(n,true),A065577(n,false)) ;
> od ;
>
> In PARI
>
> A065577(n)={
> local(N,a,i,ip);
> N = 10^n ;
> a = 0 ;
> i = 1 ;
> ip = 2 ;
> while(2*ip <= N,
> if(isprime(N-ip),
> a++ ;
> ) ;
> i++ ;
> \\ip = prime(i) ; \\ slower and needs -p switch
> ip = nextprime(ip+1) ; \\ pseudoprimes only
> ) ;
> return(a) ;
> }
>
> {
> for(n=1,20,
> print(n," ",A065577(n)) ;
> )
> }
>
> The PARI output confirms the n=9 case quoted by Zak
> (I've not gone to n=10):
>
> 1 2
> 2 6
> 3 28
> 4 127
> 5 810
> 6 5402
> 7 38807
> 8 291400
> 9 2274205
>
> -- Richard
>
____________________________________________________________________________________
We have the perfect Group for you. Check out the handy changes to Yahoo! Groups
(http://groups.yahoo.com)
From tanyakh at TanyaKhovanova.com Wed Nov 1 16:46:50 2006
From: tanyakh at TanyaKhovanova.com (Tanya Khovanova)
Date: Wed, 1 Nov 2006 07:46:50 -0800
Subject: What is the most famous sequence?
Message-ID: <200611010746.AA12650352@TanyaKhovanova.com>
What is the most famous sequence? The most basic (natural numbers?)? The most simple (0,0,0, ... or 1,1,1, ...?)? The most versatile (Catalan numbers?)?
I would be curious to know your opinion.
I tried to check the number of Google hits for some sequence numbers. Here is what I've got:
A000040 (prime numbers) 68,800
A000045 (Fibonacci) 66,000
A000108 (Catalan) 62,500
A000027 (natural) 47,500
Can someone write a program to find top ten? What is the most referenced sequence inside Encyclopedia? Can we find the most hits outside Encyclopedia? Is it easy to do?
Tanya
___________________________________________________________
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
From jvospost3 at gmail.com Wed Nov 1 18:58:55 2006
From: jvospost3 at gmail.com (Jonathan Post)
Date: Wed, 1 Nov 2006 09:58:55 -0800
Subject: New & old LEGO seqs; production cuts
Message-ID: <5542af940611010958me17f347w3bf2d2f2d6c9dec0@mail.gmail.com>
I like the new seqs about Lego, such as
A123762
Number of ways, counted up to symmetry, to build a contiguous building with
n *LEGO* blocks of size 1x2.
Ironically timed, as *"Recent restructuring and production cuts have left
Lego unable to fill
ordersfor
the upcoming holiday season. Affected products include Duplo bricks,
Lego City sets, and (horror of horrors!) Star Wars and Lego Technik
sets."*According to the article Lego stands to lose $127 million in
holiday sales.
http://www.cbc.ca/money/story/2006/10/31/legoproduction.html
It might be useful to add crossrefs to earlier seqs such as:
A007576
Number of maximally stable towers of 2 X 2 *LEGO* blocks.
A082679
Number of *Lego* towers, one piece per floor, where every floor is
perpendicular to the one below it (so we have a kind of 3-dimensional zigzag
pattern).
-- Jonathan Vos Post
[wondering if my son's earlier intense exposure to Duplo and Lego led him
towards his double B.S. in Math and Computer Science]
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From dean at math.ucdavis.edu Wed Nov 1 21:12:15 2006
From: dean at math.ucdavis.edu (Dean Hickerson)
Date: Wed, 1 Nov 2006 12:12:15 -0800
Subject: Re^2: Error-finding program
Message-ID: <20061101201215.GA2388@math.ucdavis.edu>
Ralf Stephan wrote:
> My guess is that Clark started the same algorithm with 1, 2 and then
> tried it with starting values 1, 3, so the definition of A026469 should
> be amended with ", starting with 1, 3".
Actually, A026469 should just say "starting with 1", since the 3 follows
from the rest of the definition. A026468 should say "starting with 1,2",
since the 2 is artificially added to the sequence.
Dean Hickerson
dean at math.ucdavis.edu
From franktaw at netscape.net Thu Nov 2 02:04:26 2006
From: franktaw at netscape.net (franktaw at netscape.net)
Date: Wed, 01 Nov 2006 20:04:26 -0500
Subject: What is the most famous sequence?
In-Reply-To: <200611010746.AA12650352@TanyaKhovanova.com>
References: <200611010746.AA12650352@TanyaKhovanova.com>
Message-ID: <8C8CC31F9FF2FAD-370-91EC@WEBMAIL-MA05.sysops.aol.com>
I would have to say that the most famous sequence is the primes.
To get the most referenced inside the OEIS, just do a search that
matches
everything (or almost everything) - I tend to use "-keyword:dead". Be
sure
you're sorting by references (for many searches, such as this one, the
default
sort by relevance works, too). You'll see the sequences sorted by how
many
references there are.
The top ten are (with references as of 11/1/06 6 PM CST):
1666 A000040 Primes
1305 A000045 Fibonacci
1177 A000108 Catalan
1009 A000010 Totient function
883 A000217 Triangular
870 A000005 Number of Divisors
808 A000203 Sum of Divisors
674 A002275 Repunits
616 A001358 Semiprimes
594 A000142 Factorials
This tends to under-estimate the importance of sequences like the
squares
and the powers of 2. If somebody enters a formula for a sequence that
uses the totient function, they are likely to include a reference to
A000010.
Adding a formula which squares an integer will not cause people to add
a
reference to the squares, however.
Incidently, here are some searches, intended to identify how popular
certain
topics are in the OEIS, with the number of sequences matched:
25267 Prime
17853 keyword:base
10904 Digit -maple:digit
7087 Square (but this covers a lot more than just the squares)
6384 Binomial
5548 Power
4904 Divisor
4051 Polynomial
3901 Keyword:cons
3722 Transform
3698 Partition
3638 Factor
3526 Keyword:cofr
3448 Permutation
3326 Pi
3325 Fibonacci
3308 Matrix OR Matrices (search each separately, then subtract number
where both occur)
3138 Group
2601 Phi (includes both golden ratio and totient function)
2238 Sigma
2189 Graph
2116 Composite
1971 Tree
1553 Keyword:frac
1540 Vector
1549 Catalan
1511 Reverse
1197 Factorial (but I can't search for "!" operator)
1165 Modulo OR Modulus
1159 Palindrome
1051 Perfect
1034 Semiprime
Obviously, many of these searches do not perfectly identify the
intended
subject.
Franklin T. Adams-Watters
-----Original Message-----
From: tanyakh at TanyaKhovanova.com
What is the most famous sequence? The most basic (natural numbers?)?
The most
simple (0,0,0, ... or 1,1,1, ...?)? The most versatile (Catalan
numbers?)?
I would be curious to know your opinion.
I tried to check the number of Google hits for some sequence numbers.
Here is
what I've got:
A000040 (prime numbers) 68,800
A000045 (Fibonacci) 66,000
A000108 (Catalan) 62,500
A000027 (natural) 47,500
Can someone write a program to find top ten? What is the most
referenced
sequence inside Encyclopedia? Can we find the most hits outside
Encyclopedia? Is
it easy to do?
Tanya
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and
industry-leading spam and email virus protection.
From arndt at jjj.de Thu Nov 2 02:10:02 2006
From: arndt at jjj.de (Joerg Arndt)
Date: Thu, 2 Nov 2006 12:10:02 +1100
Subject: Eisenstein-Fibonacci sequences
In-Reply-To: <5542af940610221358k58b10d14q25d0d9825ed04974@mail.gmail.com>
References: <5542af940610221358k58b10d14q25d0d9825ed04974@mail.gmail.com>
Message-ID: <20061102011002.GC6041@cochise.anu.edu.au>
* Jonathan Post [Nov 01. 2006 10:14]:
> Eisenstein-Fibonacci sequences. Cube root of unity
> analogues of square-root of unity A014291 Imaginary
> Rabbits.
>
> Let b(0) = w, b(1) = w^2, b(n) = w*b(n-1) + b(n-2),
> where w = omega = (-1 + i*sqrt(3))/2 and w^2 = omega^2
> = (-1 - i*sqrt(3))/2.
>
> [...]
> The coefficients of 1 = a(n) = 0, 0, 1, 1, 3, 1, 7, 4,
> 14, 17, 28, 54, 66, 143, 182, 350, ...
>
> which does not seem to be in OEIS.
Ralf Stephan's ggf() says that the OGF may be:
? g=ggf([1, 1, 3, 1, 7, 4,14, 17, 28, 54, 66, 143, 182, 350])
(x^5 - 3*x^3 + x + 1)/(-x^6 + 3*x^4 - x^3 - 3*x^2 + 1)
? factor(g)
[x - 1 1]
[x^4 + x^3 - 2*x^2 - 2*x - 1 1]
[x^2 + x - 1 -1]
[x^4 - x^3 - x^2 + x + 1 -1]
> [...]
From eclark at math.usf.edu Thu Nov 2 03:28:27 2006
From: eclark at math.usf.edu (Edwin Clark)
Date: Wed, 1 Nov 2006 21:28:27 -0500 (EST)
Subject: What is the most famous sequence?
In-Reply-To: <200611010746.AA12650352@TanyaKhovanova.com>
References: <200611010746.AA12650352@TanyaKhovanova.com>
Message-ID:
> What is the most famous sequence?
Since the novel and movie "The Da Vince Code"-- not to mention
Knuth's "Art of Computer Programming" it would have to be the
Fibonacci numbers.
From zakseidov at yahoo.com Thu Nov 2 07:12:28 2006
From: zakseidov at yahoo.com (zak seidov)
Date: Wed, 1 Nov 2006 22:12:28 -0800 (PST)
Subject: A124450: no autoreply from OEIS
Message-ID: <20061102061228.7046.qmail@web38206.mail.mud.yahoo.com>
Just submitted:
A124450 (no autoreply from OEIS).
Hope someone may wish to add more terms:
Mathematica isn't the best in such calcs.
Thanks, Zak
%I A124450
%S A124450
5,47,491,4919,49877,499943,4999913,49999757,499999931,4999999937,49999999811,499999999769,4999999998431,49999999999619,499999999999769,4999999999998557,49999999999998887,499999999999999679,4999999999999999661,49999999999999998647
%N A124450 Lesser of pair of closest primes summed to
10^n.
%C A124450 Cf. A065577 Number of Goldbach partitions
of 10^n.
%F A124450 10^n - a(n) is prime.
%e A124450 10^1=5+5; 10^2=47+53; 10^3=491+509;
10^4=4919+5081; 10^5=49877=50123; 10^6=499943+500057;
10^7=4999913+5000087; 10^8=49999757+50000243;
10^9=499999931+500000069;
10^10=4999999937+5000000063}, etc.
%Y A124450 A065577
%O A124450 1
%K A124450 ,nonn,
%A A124450 Zak Seidov (zakseidov at yahoo.com), Nov 02 2006
____________________________________________________________________________________
Everyone is raving about the all-new Yahoo! Mail
(http://advision.webevents.yahoo.com/mailbeta/)
From zakseidov at yahoo.com Thu Nov 2 08:12:42 2006
From: zakseidov at yahoo.com (zak seidov)
Date: Wed, 1 Nov 2006 23:12:42 -0800 (PST)
Subject: SEQ FROM Zak Seidov
In-Reply-To: <200611020706.kA276utj016855@exspider.research.att.com>
Message-ID: <20061102071242.66437.qmail@web38208.mail.mud.yahoo.com>
Neil,
in contrast,
in this case I got immediate autoreply from OEIS.
Does submitting with ascribed or non-ascribed
sequence number matter?
Zak
--- The On-Line Encyclopedia of Integer Sequences
wrote:
> The following is a copy of the email message that
> was sent to njas
> containing the sequence you submitted.
>
> All greater than and less than signs have been
> replaced by their html
> equivalents. They will be changed back when the
> message is processed.
>
> This copy is just for your records. No reply is
> expected.
> Subject: NEW SEQUENCE FROM Zak Seidov
>
>
> %I A000001
> %S A000001
>
5,,3,59,11,17,29,11,71,71,23,11,29,29,11,83,3,11,281,11,101,71,23,257,401,293,107,293,53,11,113,251,47,587,23,179,389,59,173,17,1427,83,431,53,563,593,41,47,239,383,431,1181,701,971,149,593,569,149,191,1973
> %N A000001 Lesser of pair of farsest primes summed
> to 10^n.
> %C A000001 Cf. A065577 Number of Goldbach partitions
> of 10^n, A124450 Lesser of pair of closest primes
> summed to 10^n.
> %F A000001 10^n - a(n) is prime.
> %e A000001 10^1 = 5 + 5, 10^2 = 3 + 97, 10^3 = 3 +
> 997, 10^4 = 59 + 9941, 10^5 = 11 + 99989, 10^6 = 17
> + 999983, 10^7 = 29 + 9999971, 10^8 = 11 + 99999989,
> 10^9 =
> 71 + 999999929, 10^10 = 23 + 9999999977, etc.
> %Y A000001 A065577, A124450.
> %O A000001 1
> %K A000001 ,nonn,
> %A A000001 Zak Seidov (zakseidov at yahoo.com), Nov 02
> 2006
> RH
> RA 192.20.225.32
> RU
> RI
>
____________________________________________________________________________________
Access over 1 million songs - Yahoo! Music Unlimited
(http://music.yahoo.com/unlimited)
From jvospost3 at gmail.com Thu Nov 2 08:44:39 2006
From: jvospost3 at gmail.com (Jonathan Post)
Date: Wed, 1 Nov 2006 23:44:39 -0800
Subject: Eisenstein-Fibonacci sequences
In-Reply-To: <20061102011002.GC6041@cochise.anu.edu.au>
References: <5542af940610221358k58b10d14q25d0d9825ed04974@mail.gmail.com>
<20061102011002.GC6041@cochise.anu.edu.au>
Message-ID: <5542af940611012344s6b5c6218j6849a4e1d0493d3d@mail.gmail.com>
Thank you, Joerg. That was interesting. Does your generating function
hypothesis hold when I extend the sequence by another 5 values, to a(n) = 0,
0, 1, 1, 3, 1, 7, 4,
14, 17, 28, 54, 66, 143, 182, 350, 687, 987, 2611, 4298 ? Again, assuming
that I got the elementary algebra and arithmetic correct.
If so, I should submit this sequence as by the two us!
Eisenstein-Fibonacci sequences. Cube root of unity analogues of square-root
of unity A014291 Imaginary Rabbits.
[update of 1 Nov 06]
Let b(0) = w, b(1) = w^2, b(n) = w*b(n-1) + b(n-2),
where w = omega = (-1 + i*sqrt(3))/2 and w^2 = omega^2
= (-1 - i*sqrt(3))/2.
There are various integer sequences derived from this
complex sequence (such as the real part, the imaginary
part, the polynomial coefficient is of 1, w, and
w^2)Unless my arithmetic by hand is in error again,
is:
n b(n)
0 w
1 w^2
2 w(w^2) + w = w^3 + w = 1 + w.
3 w(1 + w) + w^2 = w + w^2 + w^2 = 1 + 2w^2.
4 w(1 + 2w^2) + 1 + w = w + 2w^3 + 1 + w = 3 + 2w.
5 w(3 + 2w) + 1 + 2w^2 = 3w + 2w^2 + 1 + 2w^2.
= 1 + 3w + 4w^2.
6 w(1 + 3w + 4w^2) + 3 + 2w = w + 3w^2 + 4w^3 + 3 +
2w
= 7 + 3w + 3w^2.
7 w(7 + 3w + 3w^2) + 1 + 3w + 4w^2 = 7w + 3w^2 + 3w^3
+ 1 + 3w + 4w^2 = 4 + 10w + 7w^2.
8 w(4 + 10w + 7w^2) + 7 + 3w + 3w^2 = 4w + 10w^2 +
7w^3 + 7 + 3w + 3w^2 = 14 + 7w + 13w^2.
9 w(14 + 7w + 13w^2) + 4 + 10w + 7w^2 = 14w + 7w^2 +
13w^3 + 4 + 10w + 7w^2 = 17 + 24w + 14w^2.
10 w(17 + 24w + 14w^2) + 14 + 7w + 13w^2 = 17w + 24w^2
+ 14w^3 + 14 + 7w + 13w^2 = 28 + 24w + 37w^2.
11 w(28 + 24w + 37w^2) + 17 + 24w + 14w^2 = 28w +
24w^2 + 37w^3 + 17 + 24w + 14w^2 = 54 + 52w +
38w^2.
12 w(54 + 52w + 38w^2) + 28 + 24w + 37w^2 = 54w +
52w^2 + 38w^3 + 28 + 24w + 37w^2 = 66 + 78w +
89w^2.
13 w(66 + 78w + 89w^2) + 54 + 52w + 38w^2 =
66w + 78w^2 + 89w^3 + 54 + 52w + 38w^2 =
143 + 118w + 116w^2.
14 w(143 + 118w + 116w^2) + 66 + 78w + 89w^2 =
143w + 118w^2 + 116w^3 + 66 + 78w + 89w^2 =
182 + 221w + 207w^2.
15 w(182 + 221w + 207w^2) + 143 + 118w + 116w^2 =
182w + 221w^2 + 207w^3 + 143 + 118w + 116w^2 =
350 + 300w + 337w^2.
16 w(350 + 300w + 337w^2) + 350 + 300w + 337w^2 =
350w + 300w^2 + 337w^3 + 350 + 300w + 337w^2 =
687 + 650w + 637w^2.
17 w(687 + 650w + 637w^2) + 350 + 300w + 337w^2 =
687w + 650w^2 + 637w^3 + 350 + 300w + 337w^2 =
987 + 987w + 987w^2.
18 w(987 + 987w + 987w^2) + 687 + 650w + 637w^2 =
987w + 987w^2 + 987w^3 + 687 + 650w + 637w^2 =
1674 + 1637w + 1624w^2.
19 w(1674 + 1637w + 1624w^2) + 987 + 987w + 987w^2 =
1674w + 1637w^2 + 1624w^3 + 987 + 987w + 987w^2
=
2611 + 2661w + 2624w^2.
20 w(2611 + 2661w + 2624w^2) + 1674 + 1637w + 1624w^2
=
2611w + 2661w^2 + 2624w^3 + 1674 + 1637w +
1624w^2 =
4298 + 4248w + 4285w^2.
The coefficients of 1 = a(n) = 0, 0, 1, 1, 3, 1, 7, 4,
14, 17, 28, 54, 66, 143, 182, 350, 687, 987, 2611,
4298
which does not seem to be in OEIS.
To excerpt my comment in A107890 (and some other
seqs):
"Eisenstein integers are of the form a + b*omega,
where a and b are ordinary integers, and omega = (-1 +
i*sqrt(3))/2 is a cube root of 1, the other cube roots
of 1 being 1 and omega^2 = (-1 - i*sqrt(3))/2.
Eisenstein integers are complex numbers that are also
members of the imaginary quadratic field Q(sqrt -3) =
Z[omega]. The sums, differences, and products of
Eisenstein integers are other Eisenstein integers."
Other sequences come from:
b(0) = w, b(1) = w^2, b(n) = b(n-1) + w*b(n-2),
and from the O, J notation of D?rrie (1965) in
Weisstein, Eric W. "Eisenstein Integer." From
MathWorld--A Wolfram Web Resource.
http://mathworld.wolfram.com/EisensteinInteger.html
Eisenstein-Fib.doc
=== end 2nd email ===
On 11/1/06, Joerg Arndt wrote:
>
> * Jonathan Post [Nov 01. 2006 10:14]:
> > Eisenstein-Fibonacci sequences. Cube root of unity
> > analogues of square-root of unity A014291 Imaginary
> > Rabbits.
> >
> > Let b(0) = w, b(1) = w^2, b(n) = w*b(n-1) + b(n-2),
> > where w = omega = (-1 + i*sqrt(3))/2 and w^2 = omega^2
> > = (-1 - i*sqrt(3))/2.
> >
> > [...]
> > The coefficients of 1 = a(n) = 0, 0, 1, 1, 3, 1, 7, 4,
> > 14, 17, 28, 54, 66, 143, 182, 350, ...
> >
> > which does not seem to be in OEIS.
>
> Ralf Stephan's ggf() says that the OGF may be:
>
> ? g=ggf([1, 1, 3, 1, 7, 4,14, 17, 28, 54, 66, 143, 182, 350])
> (x^5 - 3*x^3 + x + 1)/(-x^6 + 3*x^4 - x^3 - 3*x^2 + 1)
> ? factor(g)
>
> [x - 1 1]
>
> [x^4 + x^3 - 2*x^2 - 2*x - 1 1]
>
> [x^2 + x - 1 -1]
>
> [x^4 - x^3 - x^2 + x + 1 -1]
>
>
> > [...]
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From maxale at gmail.com Thu Nov 2 09:23:51 2006
From: maxale at gmail.com (Max A.)
Date: Thu, 2 Nov 2006 00:23:51 -0800
Subject: Eisenstein-Fibonacci sequences
In-Reply-To: <5542af940610221358k58b10d14q25d0d9825ed04974@mail.gmail.com>
References: <5542af940610221358k58b10d14q25d0d9825ed04974@mail.gmail.com>
Message-ID:
On 10/22/06, Jonathan Post wrote:
> Eisenstein-Fibonacci sequences. Cube root of unity
> analogues of square-root of unity A014291 Imaginary
> Rabbits.
>
> Let b(0) = w, b(1) = w^2, b(n) = w*b(n-1) + b(n-2),
> where w = omega = (-1 + i*sqrt(3))/2 and w^2 = omega^2
> = (-1 - i*sqrt(3))/2.
First off, using the identity w^2 = -w-1, we can uniquely represent
b(n) as u(n)+v(n)*w where u(n) and v(n) are integers.
In particular, u(0)=0, v(0)=1, u(1)=-1, v(1)=-1.
Now the recurrence relation b(n) = w*b(n-1) + b(n-2) implies that
u(n) = u(n-2) - v(n-1)
v(n) = v(n-2) + u(n-1) - v(n-1)
that in turn implies that
[u(n-1),v(n-1),u(n),v(n)] = M*[u(n-2),v(n-2),u(n-1),v(n-1)]
where vectors are column-vectors and the matrix M is defined as
[ 0, 0, 1, 0 ]
[ 0, 0, 0, 1 ]
[ 1, 0, 0, -1 ]
[ 0, 1, 1, -1 ]
The characteristic polynomial of the matrix M is
x^4 + x^3 - x^2 - x + 1
meaning that u(n) and v(n) satisfies the recurrence
u(n) = - u(n-1) + u(n-2) + u(n-3) - u(n-4)
v(n) = - v(n-1) + v(n-2) + v(n-3) - v(n-4)
with u(0)=0, u(1)=-1, u(2)=1, u(3)=-2
and v(0)=1, v(1)=-1, v(2)=1, v(3)=-1.
> There are various integer sequences derived from this
> complex sequence (such as the real part, the imaginary
> part, the polynomial coefficient is of 1, w, and
> w^2)Unless my arithmetic by hand is in error again,
> is:
>
> n b(n)
> 0 w
> 1 w^2
> 2 w(w^2) + w = w^3 + w = 1 + w.
> 3 w(1 + w) + w^2 = w + w^2 + w^2 = 1 + 2w^2.
It is not clear why you don't reduce the "polynomials" of w to the first degree.
Higher degree "polynomials" are not uniquely defined.
E.g., b(1)=w^2=2w^2+w+1=3w^2+2w+2=...
but if you reduce to the first degree "polynomial", there is an unique
representation:
b(1) = -w-1.
[...]
> The coefficients of 1 = a(n) = 0, 0, 1, 1, 3, 1, 7, 4,
> 14, 17, 28, 54, 66, 143, 182, 350, ...
This sequence is not well-defined (see above).
Probably, what you are interested in is u(n):
0, -1, 1, -2, 2, -2, 1, 1, -4, 8, -12, 15, -15, 10, 2, -22, 49, -79, 104, -112
Max
From maxale at gmail.com Thu Nov 2 13:06:51 2006
From: maxale at gmail.com (Max A.)
Date: Thu, 2 Nov 2006 04:06:51 -0800
Subject: Eisenstein-Fibonacci sequences
In-Reply-To:
References: <5542af940610221358k58b10d14q25d0d9825ed04974@mail.gmail.com>
Message-ID:
On 11/2/06, Max A. wrote:
> > Let b(0) = w, b(1) = w^2, b(n) = w*b(n-1) + b(n-2),
> > where w = omega = (-1 + i*sqrt(3))/2 and w^2 = omega^2
> > = (-1 - i*sqrt(3))/2.
>
> First off, using the identity w^2 = -w-1, we can uniquely represent
> b(n) as u(n)+v(n)*w where u(n) and v(n) are integers.
[...]
> u(n) and v(n) satisfies the recurrence
> u(n) = - u(n-1) + u(n-2) + u(n-3) - u(n-4)
> v(n) = - v(n-1) + v(n-2) + v(n-3) - v(n-4)
> with u(0)=0, u(1)=-1, u(2)=1, u(3)=-2
> and v(0)=1, v(1)=-1, v(2)=1, v(3)=-1.
o.g.f. for u(n) is
-x/(1 + x - x^2 - x^3 + x^4)
and
o.g.f. for v(n) is
(1-x^2)/(1 + x - x^2 - x^3 + x^4)
Hence, o.g.f. for b(n) is
(-x + w*(1-x^2)) / (1 + x - x^2 - x^3 + x^4)
Max
From njas at research.att.com Thu Nov 2 14:24:15 2006
From: njas at research.att.com (N. J. A. Sloane)
Date: Thu, 2 Nov 2006 08:24:15 -0500 (EST)
Subject: SEQ FROM Zak Seidov
Message-ID: <200611021324.IAA74292@fry.research.att.com>
Does submitting with ascribed or non-ascribed
sequence number matter?
Zak
Me: I don't know. But I see you are still using yahoo!
Why not switch to gmail? Then you won't have these problems.
Best
Neil
From mathar at strw.leidenuniv.nl Thu Nov 2 14:40:51 2006
From: mathar at strw.leidenuniv.nl (Richard Mathar)
Date: Thu, 2 Nov 2006 14:40:51 +0100
Subject: Re^2: Eisenstein-Fibonacci sequences
Message-ID: <200611021340.kA2DepPv014946@amer.strw.leidenuniv.nl>
ma> From seqfan-owner at ext.jussieu.fr Thu Nov 2 13:12:31 2006
ma> Return-Path:
ma> Date: Thu, 2 Nov 2006 04:06:51 -0800
ma> From: "Max A."
ma> To: "Jonathan Post"
ma> Subject: Re: Eisenstein-Fibonacci sequences
ma> Cc: "Sequence Fans Mailing List"
ma>
ma> On 11/2/06, Max A. wrote:
ma>
ma> > > Let b(0) = w, b(1) = w^2, b(n) = w*b(n-1) + b(n-2),
ma> > > where w = omega = (-1 + i*sqrt(3))/2 and w^2 = omega^2
ma> > > = (-1 - i*sqrt(3))/2.
ma> >
ma> > First off, using the identity w^2 = -w-1, we can uniquely represent
ma> > b(n) as u(n)+v(n)*w where u(n) and v(n) are integers.
ma>
ma> [...]
ma>
ma> > u(n) and v(n) satisfies the recurrence
ma> > u(n) = - u(n-1) + u(n-2) + u(n-3) - u(n-4)
ma> > v(n) = - v(n-1) + v(n-2) + v(n-3) - v(n-4)
ma> > with u(0)=0, u(1)=-1, u(2)=1, u(3)=-2
ma> > and v(0)=1, v(1)=-1, v(2)=1, v(3)=-1.
ma>
ma> o.g.f. for u(n) is
ma> -x/(1 + x - x^2 - x^3 + x^4)
ma> and
ma> o.g.f. for v(n) is
ma> (1-x^2)/(1 + x - x^2 - x^3 + x^4)
ma>
ma> Hence, o.g.f. for b(n) is
ma> (-x + w*(1-x^2)) / (1 + x - x^2 - x^3 + x^4)
ma>
ma> Max
The g.f. above [-x+w(1-x^2)]/[1+x-x^2-x^3+x^4] generates
the reduced polynomial
2 3 4 5 6
w + (-1 - w) x + (1 + w) x + (-2 - w) x + 2 x + (w - 2) x + (-3 w + 1) x
7 8 9 10
+ (1 + 5 w) x + (-4 - 7 w) x + (8 + 8 w) x + O(x )
If one doesn't reduce the polynomial, one gets the simpler
g(x)=w/[1-w*x-x^2] which generates the non-reduced and more generic
b(0)+b(1) x+ b(2) x^2 + b(3) x^3+ ...
=
2 3 2 4 2 3 5 3 4
w + w x + (w + w) x + (w + 2 w ) x + (w + 3 w + w) x +
6 4 2 5 7 5 3 6
(w + 4 w + 3 w ) x + (w + 5 w + 6 w + w) x +
8 6 4 2 7 9 7 5 3 8
(w + 6 w + 10 w + 4 w ) x + (w + 7 w + 15 w + 10 w + w) x +
10 8 6 4 2 9 10
(w + 8 w + 21 w + 20 w + 5 w ) x + O(x )
and which becomes (apart from an offset) A000045 for w=1, A052542 for w=2,
A052906 for w=3, A000007 for w=0, and signed variations of these for w=-1,-2 or -3..
The coefficients table of the non-reduced g.f. is in A102426, which is
essentially the same as A098925 and A092865.
R. Mathar
From tanyakh at TanyaKhovanova.com Thu Nov 2 16:15:08 2006
From: tanyakh at TanyaKhovanova.com (Tanya Khovanova)
Date: Thu, 2 Nov 2006 07:15:08 -0800
Subject: What is the most famous sequence?
Message-ID: <200611020715.AA2085028026@TanyaKhovanova.com>
Would this mean that Fibonacci sequence is the most popularized?
---------- Original Message ----------------------------------
From: Edwin Clark
Date: Wed, 1 Nov 2006 21:28:27 -0500 (EST)
>
>> What is the most famous sequence?
>
>Since the novel and movie "The Da Vince Code"-- not to mention
>Knuth's "Art of Computer Programming" it would have to be the
>Fibonacci numbers.
>
>
>
___________________________________________________________
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
From davidwwilson at comcast.net Thu Nov 2 16:46:38 2006
From: davidwwilson at comcast.net (David Wilson)
Date: Thu, 2 Nov 2006 10:46:38 -0500
Subject: A065577 Number of Goldbach partitions of 10^n? More terms?
References: <20061101054313.25333.qmail@web38210.mail.mud.yahoo.com>
Message-ID: <008e01c6fe96$19f1bbe0$6401a8c0@yourxhtr8hvc4p>
I wrote a C++ program using sieve method and calculated
a(7) = 38807
a(8) = 291400
a(9) = 2274205
a(10) = 18200488
a(7), a(8) and a(9) agree with previous calculations.
However, Zak Seidov gave
However, my a(10) = 18200487.
So now I have to go root out the discrepancy. I am going to have my computer
generate a file of all the partitions of 10^10 and do an independent check
of the results, and hopefully uncover a problem in my program.
From rsc at swtch.com Thu Nov 2 17:26:57 2006
From: rsc at swtch.com (Russ Cox)
Date: Thu, 2 Nov 2006 11:26:57 -0500
Subject: SEQ FROM Zak Seidov
In-Reply-To: <20061102071242.66437.qmail@web38208.mail.mud.yahoo.com>
References: <200611020706.kA276utj016855@exspider.research.att.com>
<20061102071242.66437.qmail@web38208.mail.mud.yahoo.com>
Message-ID:
As I said in my earlier mail, the semantics of the
Yahoo "spam protection" are such that if you
submit two sequences within some time period
(maybe 12 hours to a day), the first might get
delayed many hours while the second will go through
immediately.
Out of curiosity, do you have oeis at research.att.com
in your address book?
Russ
From davidwwilson at comcast.net Thu Nov 2 17:29:52 2006
From: davidwwilson at comcast.net (David Wilson)
Date: Thu, 2 Nov 2006 11:29:52 -0500
Subject: A065577 Number of Goldbach partitions of 10^n? More terms?
Message-ID: <001101c6fe9c$205d0c40$6401a8c0@yourxhtr8hvc4p>
Ok, that last message was incoherent.
For A065577 Zak Seidov got a(10) = 18200488, I got a(10) = 18200487. I am
checking my program.
From pxp at rogers.com Thu Nov 2 18:36:24 2006
From: pxp at rogers.com (Hans Havermann)
Date: Thu, 2 Nov 2006 12:36:24 -0500
Subject: A124450
In-Reply-To: <20061102061228.7046.qmail@web38206.mail.mud.yahoo.com>
References: <20061102061228.7046.qmail@web38206.mail.mud.yahoo.com>
Message-ID:
zak seidov:
> Hope someone may wish to add more terms:
> Mathematica isn't the best in such calcs.
> %S A124450
> 5,47,491,4919,49877,499943,4999913,49999757,499999931,4999999937,49999
> 999811,499999999769,4999999998431,49999999999619,499999999999769,49999
> 99999998557,49999999999998887,499999999999999679,4999999999999999661,4
> 9999999999999998647
> %N A124450 Lesser of pair of closest primes summed to 10^n.
I think you overstate the Mathematica difficulty. With no effort at
any sort of efficiency in the programming, it still only takes me 8
seconds to generate 50 terms.
Table[h =10^n/2; c=0; While[PrimeQ[h-c]==False || PrimeQ[h+c]==False,
c++]; h-c, {n, 1, 50}]
{5, 47, 491, 4919, 49877, 499943, 4999913, 49999757, 499999931,
4999999937, 49999999811, 499999999769, 4999999998431, 49999999999619,
499999999999769, 4999999999998557, 49999999999998887,
499999999999999679, 4999999999999999661, 49999999999999998647,
499999999999999999637, 4999999999999999999481,
49999999999999999998677, 499999999999999999998497,
4999999999999999999999259, 49999999999999999999998779,
499999999999999999999999043, 4999999999999999999999998947,
49999999999999999999999999661, 499999999999999999999999994069,
4999999999999999999999999997879, 49999999999999999999999999997699,
499999999999999999999999999997969,
4999999999999999999999999999995227,
49999999999999999999999999999995263,
499999999999999999999999999999989719,
4999999999999999999999999999999998683,
49999999999999999999999999999999999871,
499999999999999999999999999999999996127,
4999999999999999999999999999999999998557,
49999999999999999999999999999999999999613,
499999999999999999999999999999999999988231,
4999999999999999999999999999999999999991729,
49999999999999999999999999999999999999994663,
499999999999999999999999999999999999999997117,
4999999999999999999999999999999999999999992863,
49999999999999999999999999999999999999999991807,
499999999999999999999999999999999999999999991507,
4999999999999999999999999999999999999999999993199,
49999999999999999999999999999999999999999999997081}
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From davidwwilson at comcast.net Thu Nov 2 18:45:17 2006
From: davidwwilson at comcast.net (David Wilson)
Date: Thu, 2 Nov 2006 12:45:17 -0500
Subject: A065577 Number of Goldbach partitions of 10^n? More terms?
References: <20061102171720.72610.qmail@web38203.mail.mud.yahoo.com>
Message-ID: <002b01c6fea6$a96fcae0$6401a8c0@yourxhtr8hvc4p>
Well let's get it right this time
I got a(10) = 18200488, in agreement with Dick Mathar's value.
From jvospost3 at gmail.com Thu Nov 2 19:01:55 2006
From: jvospost3 at gmail.com (Jonathan Post)
Date: Thu, 2 Nov 2006 10:01:55 -0800
Subject: A065577 Number of Goldbach partitions of 10^n? More terms?
In-Reply-To: <002b01c6fea6$a96fcae0$6401a8c0@yourxhtr8hvc4p>
References: <20061102171720.72610.qmail@web38203.mail.mud.yahoo.com>
<002b01c6fea6$a96fcae0$6401a8c0@yourxhtr8hvc4p>
Message-ID: <5542af940611021001x27e8951akc9b931928d84333e@mail.gmail.com>
Amusing coincidence that the digits of a(10) = 18200488 consist entirely of
0 and powers of 2. [base].
-- Jonathan Vos Post
On 11/2/06, David Wilson wrote:
>
> Well let's get it right this time
>
> I got a(10) = 18200488, in agreement with Dick Mathar's value.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From jvospost3 at gmail.com Thu Nov 2 21:54:44 2006
From: jvospost3 at gmail.com (Jonathan Post)
Date: Thu, 2 Nov 2006 12:54:44 -0800
Subject: New & old LEGO seqs; production cuts
In-Reply-To:
References: <5542af940611010958me17f347w3bf2d2f2d6c9dec0@mail.gmail.com>
Message-ID: <5542af940611021254w14b12a38y14021854e772de77@mail.gmail.com>
Dear Soren,
Thank you for a clear and thoughful answer.
My son (in the room with me now) agrees that baby/childhood play with Duplo
and Lego guided him towards his Math/Computer Science expertise today.
He and I agree, however, that it's a shame that the manufacturer doesn't
make 4-D Lego blocks, or, more properly, the ones that they do make are of
extension along the t-axis only in the trivial way, and cannot be freely
rotated in Minkowski space.
So, I wonder, how well does your approach to counting under symmetry work if
extended to an additional spacial dimension?
I suppose that we can consider an AxBxC 4-D Lego to be actually an AxBxCx1
Lego in Z^4. I think that adjacency is well-defined, all rotations are about
planes, and there is a relationship to 4-D analogues of polyominoes, i.e. to
polyhypercubes.
Best,
Jonathan Vos Post
On 11/2/06, S?ren Eilers wrote:
>
> Dear Jonathan
>
> Thank you, and yes, I think that LEGO inspires kids to learn about
> fundamental mathematical concepts such as symmetry.
>
> I've also considered adding crossrefs to the sequences you mentioned but
> decided against it.
>
> Regarding A007576: Watson definitely counts a subset of what we count in
> A123818, but as you can see in his paper he only looks at "planar" buildings
> where all blocks could be placed in, say, [0,2]xRxR. This means that one of
> the dimensions of the blocks used is irrelevant, and Watson could just have
> well have counted what we call FLAT structures with 1x2 blocks. Thus, IF one
> was to crossref I would suggest to do it to A123764, but perhaps this is a
> little hard to explain in the limited space of an OEIS entry.
>
> But Watson has even more restrictions; he looks only at MAX HEIGHT
> buildings with one block at each level. This is exactly what LEGO did wrong
> when they claimed that A123828(6)=102981500 [the number they wanted was
> (46^5+2^5)/2, but they got the last digit wrong too].
>
> Of course counting FLAT and MAX HEIGHT structures with 2x2 or 1x2 blocks
> is easy, the formula is 3^(n-1) or (3^(n-1)+1)/2 depending on whether or not
> you want to identify up to symmetry. Watson knows this and tries to count
> how many of these structures would tip over if placed on a flat surface,
> essentially computing the x-coordinate of the center of gravity. So I think
> the kind of LEGO counting done by Watson is quite different from the kind of
> LEGO counting we do.
>
> {Btw, A007576 is indeed the same as A086821}
> {If somebody was interested I could probably quite easily compute how
> many of "our" LEGO buildings are stable in the sense of Watson}
>
> Regarding Zeilberger's LEGO counts, they all relate, as far as I recall
> from a relatively hard look some time ago, to buildings with blocks of
> varying size, and hence are quite different in nature from what we do. In
> that case, n is not a number of blocks, but the total volume/weight of the
> structure, so that's a very different ball game.
>
> Best regards,
> Soren
>
>
>
>
>
> On 01/11/06 18:58, "Jonathan Post" wrote:
>
> I like the new seqs about Lego, such as
> A123762
> Number of ways, counted up to symmetry, to build a contiguous building
> with n *LEGO* blocks of size 1x2.
>
> Ironically timed, as *"Recent restructuring and production cuts have left
> Lego unable to fill orders
> for the upcoming holiday season. Affected products include Duplo bricks,
> Lego City sets, and (horror of horrors!) Star Wars and Lego Technik sets."
> * According to the article Lego stands to lose $127 million in holiday
> sales.
>
> http://www.cbc.ca/money/story/2006/10/31/legoproduction.html
>
> It might be useful to add crossrefs to earlier seqs such as:
>
> A007576
> Number of maximally stable towers of 2 X 2 *LEGO* blocks.
>
>
> A082679
> Number of *Lego* towers, one piece per floor, where every floor is
> perpendicular to the one below it (so we have a kind of 3-dimensional zigzag
> pattern).
> -- Jonathan Vos Post
> [wondering if my son's earlier intense exposure to Duplo and Lego led him
> towards his double B.S. in Math and Computer Science]
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From davidwwilson at comcast.net Thu Nov 2 22:49:42 2006
From: davidwwilson at comcast.net (David Wilson)
Date: Thu, 2 Nov 2006 16:49:42 -0500
Subject: A065577 Number of Goldbach partitions of 10^n? More terms?
References: <20061102171720.72610.qmail@web38203.mail.mud.yahoo.com> <002b01c6fea6$a96fcae0$6401a8c0@yourxhtr8hvc4p>
Message-ID: <004e01c6fec8$ce34d100$6401a8c0@yourxhtr8hvc4p>
Regarding A065577:
I altered my counting program to generating a file listing, in increasing
order, all primes p such that there exists prime q with p < q, p+q = 10^10.
I wrote a verification program to read this file, check that the p are in
increasing order, count the p, compute q = 10^10-p, check p < q and that p
and q are both prime (using trial division).
The verification program has finished, and confirms that a(10) >= 18200488.
This contradicts Zak Seidov's count a(10) = 18200487, but agrees with Dick
Mathar's count a(10) = 18200488.
If anyone is interested, I am keeping the text file with the p values for a
little while. It is 195MB, so e-mailing it is probably not a good option.
From zakseidov at yahoo.com Fri Nov 3 04:09:56 2006
From: zakseidov at yahoo.com (zak seidov)
Date: Thu, 2 Nov 2006 19:09:56 -0800 (PST)
Subject: A065577 Number of Goldbach partitions of 10^n? More terms?
In-Reply-To: <004e01c6fec8$ce34d100$6401a8c0@yourxhtr8hvc4p>
Message-ID: <20061103030956.55909.qmail@web38210.mail.mud.yahoo.com>
David, Dick, Bob, Ivars,
seqfans.
After recalculating (at two different PC's)
and rechecking I could finally
find source of my error
(silly as usual) in one of codes,
and my final value is
a(10) = 18200488 (NOT 18200487!)
which coincides now with the Dick-David value.
So, Bob,
you may wish to give in A065577 the correct value
a(10) = 18200488 with due refer to David Wilson and
Richard Mathar (not me).
Also Ivars can extend his table.
Thanks, Zak
BTW1 Still, is it possible to find a(11)... with C++?
BIW2 Not all people even in this closed list
may be interested in Mmca specific problems,
so I''l be happy to have a list of you
particularly Mmca-involved.
Then we may circulate relevant messages
not to all seqfan community.
Please anyone interested write me personally
with subject "Me in Mmca", thanks.
Of course it's not intented to be closed list!
Hope this is not against Gerard' policy.
--- David Wilson wrote:
> Regarding A065577:
>
> I altered my counting program to generating a file
> listing, in increasing
> order, all primes p such that there exists prime q
> with p < q, p+q = 10^10.
> I wrote a verification program to read this file,
> check that the p are in
> increasing order, count the p, compute q = 10^10-p,
> check p < q and that p
> and q are both prime (using trial division).
>
> The verification program has finished, and confirms
> that a(10) >= 18200488.
> This contradicts Zak Seidov's count a(10) =
> 18200487, but agrees with Dick
> Mathar's count a(10) = 18200488.
>
> If anyone is interested, I am keeping the text file
> with the p values for a
> little while. It is 195MB, so e-mailing it is
> probably not a good option.
>
>
____________________________________________________________________________________
Everyone is raving about the all-new Yahoo! Mail
(http://advision.webevents.yahoo.com/mailbeta/)
From zakseidov at yahoo.com Fri Nov 3 05:03:30 2006
From: zakseidov at yahoo.com (zak seidov)
Date: Thu, 2 Nov 2006 20:03:30 -0800 (PST)
Subject: A123998: No primes except 3?
Message-ID: <20061103040330.2777.qmail@web38202.mail.mud.yahoo.com>
Why are there no prime numbers except of 3,
in this sequence?
Zak
A123998
={1,3,9,15,18,39,48,69,78,99,105,114,135,153,165,168,183,189,219,249,273,
288,300,303,309,330,345,363,405,414,438,468,483,498,504,534,585,618,
639,648,699,714,729,765,804,813,828,879,933};
(* %N A123998 Numbers n for which 2n+1 and 4n+1 are
primes. *)
__________________________________________________________________________________________
Check out the New Yahoo! Mail - Fire up a more powerful email and get things done faster.
(http://advision.webevents.yahoo.com/mailbeta)
From maxale at gmail.com Fri Nov 3 06:41:20 2006
From: maxale at gmail.com (Max A.)
Date: Thu, 2 Nov 2006 21:41:20 -0800
Subject: A123998: No primes except 3?
In-Reply-To: <20061103040330.2777.qmail@web38202.mail.mud.yahoo.com>
References: <20061103040330.2777.qmail@web38202.mail.mud.yahoo.com>
Message-ID:
Note that if n = 1 mod 3 then 2n+1 is not prime (except n=1);
and if n = 2 mod 3 then 4n+1 is not prime.
Therefore, n must be a multiple of 3, except n=1.
Max
If n>1 and both 2n+1, 4n+1 are primes
On 11/2/06, zak seidov wrote:
> Why are there no prime numbers except of 3,
> in this sequence?
> Zak
>
> A123998
> ={1,3,9,15,18,39,48,69,78,99,105,114,135,153,165,168,183,189,219,249,273,
>
> 288,300,303,309,330,345,363,405,414,438,468,483,498,504,534,585,618,
> 639,648,699,714,729,765,804,813,828,879,933};
> (* %N A123998 Numbers n for which 2n+1 and 4n+1 are
> primes. *)
>
>
>
>
> __________________________________________________________________________________________
> Check out the New Yahoo! Mail - Fire up a more powerful email and get things done faster.
> (http://advision.webevents.yahoo.com/mailbeta)
>
>
From zakseidov at yahoo.com Fri Nov 3 07:01:51 2006
From: zakseidov at yahoo.com (zak seidov)
Date: Thu, 2 Nov 2006 22:01:51 -0800 (PST)
Subject: A123998: No primes except 3?
In-Reply-To:
Message-ID: <20061103060151.3808.qmail@web38207.mail.mud.yahoo.com>
Great!
It'so easy if you are Max, not Zak!
Thanks,
Zak
--- "Max A." wrote:
> Note that if n = 1 mod 3 then 2n+1 is not prime
> (except n=1);
> and if n = 2 mod 3 then 4n+1 is not prime.
> Therefore, n must be a multiple of 3, except n=1.
>
> Max
>
> If n>1 and both 2n+1, 4n+1 are primes
>
> On 11/2/06, zak seidov wrote:
> > Why are there no prime numbers except of 3,
> > in this sequence?
> > Zak
> >
> > A123998
> >
>
={1,3,9,15,18,39,48,69,78,99,105,114,135,153,165,168,183,189,219,249,273,
> >
> >
>
288,300,303,309,330,345,363,405,414,438,468,483,498,504,534,585,618,
> > 639,648,699,714,729,765,804,813,828,879,933};
> > (* %N A123998 Numbers n for which 2n+1 and 4n+1
> are
> > primes. *)
> >
> >
> >
> >
> >
>
__________________________________________________________________________________________
> > Check out the New Yahoo! Mail - Fire up a more
> powerful email and get things done faster.
> > (http://advision.webevents.yahoo.com/mailbeta)
> >
> >
>
____________________________________________________________________________________
Get your email and see which of your friends are online - Right on the New Yahoo.com
(http://www.yahoo.com/preview)
From jeremy.gardiner at btinternet.com Fri Nov 3 09:59:50 2006
From: jeremy.gardiner at btinternet.com (JEREMY GARDINER)
Date: Fri, 3 Nov 2006 08:59:50 +0000 (GMT)
Subject: What is the most famous sequence?
In-Reply-To: <200611020715.AA2085028026@TanyaKhovanova.com>
Message-ID: <20061103085950.5824.qmail@web86610.mail.ird.yahoo.com>
The natural numbers must be the most widely known sequence ...
Tanya Khovanova wrote: > What is the most famous sequence?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From maxale at gmail.com Fri Nov 3 10:08:28 2006
From: maxale at gmail.com (Max A.)
Date: Fri, 3 Nov 2006 01:08:28 -0800
Subject: querying multidimensional sequences in OEIS
Message-ID:
I have a sequence indexed by vectors with non-negative integer components.
Is there a regular way to query such sequence in OEIS ?
As an example, let us consider a sequence of multinomial coefficients.
Any vector with non-negative integer components [k1, k2, ..., kn]
defines an element of this sequence:
a( [k1, k2, ..., kn] ) = (k1 + k2 + ... + kn)! / (k1! * k2! * ... * kn!)
Assume that I know nothing about these numbers and have only a
black-box computing a(v) for any given vector v with non-negative
integer components. Can I anyhow find this sequence in OEIS and learn
that its elements called "multinomial coefficients" ?
Thanks,
Max
From wouter.meeussen at pandora.be Fri Nov 3 12:39:40 2006
From: wouter.meeussen at pandora.be (wouter meeussen)
Date: Fri, 3 Nov 2006 12:39:40 +0100
Subject: download seqs resulting from search
Message-ID: <002001c6ff3c$c0040f50$45c7e0d5@pcwou>
dear all,
if I search for all number triangles with row sums equal to the factorials,
I enter
"row sum" "factorial"
and get 9 pages of results in 'short' form.
(1) how can I improve on this query?
(2) how can I download them all in one go?
Wouter
From njas at research.att.com Fri Nov 3 14:43:47 2006
From: njas at research.att.com (N. J. A. Sloane)
Date: Fri, 3 Nov 2006 08:43:47 -0500 (EST)
Subject: download seqs resulting from search
Message-ID: <200611031343.IAA51448@fry.research.att.com>
as i have said before, you can download up to 30 (or is it 50?) sequences
at once by using the old email lookup service
send email to sequences at research.att.com saying things like
lookup A000123
lookup A000125
lookup A012345
etc.
Neil
From franktaw at netscape.net Fri Nov 3 16:18:26 2006
From: franktaw at netscape.net (franktaw at netscape.net)
Date: Fri, 03 Nov 2006 10:18:26 -0500
Subject: querying multidimensional sequences in OEIS
In-Reply-To:
References:
Message-ID: <8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com>
I don't know of any standard for functions of an arbitrary finite
sequence
of positive integers in the OEIS.
In your example, the function is commutative, which makes it
essentially
a function of the multiset of values - or in other words, of a
partition. For
that there is a standard - two of them actually. One is the
enumeration
in Abramowitz and Stegun order, as specified in A036036, and the other
is the Mathematica ordering, as specified in A080577.
There are some relevant sequences in the database in both orders, some
only in the A&S order, and a few only in the Mma order.
Since the two orders are the same for partitions of up to 5 objects,
one
often just search for an early part of the sequence. If this does not
suffice,
one should try both before giving up.
For example, the partitions of 5 objects are: [5], [4,1], [3,2],
[3,1^2],
[2^2,1], [2,1^3], [1^5]. The multinomial coefficients for these are:
1,5,10,20,30,60,120
A search for this turns up A036038, the A&S version, and A078760, the
Mma version.
----
As for arbitrary finite sequences of positive integers, there are two
main
candidates for an ordering: A066099 and A108244; these are the reverse
of each other. I would probably go with A066099, as it is closest to
the
ordering used for the partitions; but you can make an argument for
either
one. Possibly both should be used.
Off hand, I can't think of any interesting functions of finite
sequences of
positive integers that depend on the order of the sequence.
Franklin T. Adams-Watters
-----Original Message-----
From: maxale at gmail.com
I have a sequence indexed by vectors with non-negative integer
components.?
Is there a regular way to query such sequence in OEIS ??
?
As an example, let us consider a sequence of multinomial coefficients.?
Any vector with non-negative integer components [k1, k2, ..., kn]?
defines an element of this sequence:?
?
a( [k1, k2, ..., kn] ) = (k1 + k2 + ... + kn)! / (k1! * k2! * ... *
kn!)?
?
Assume that I know nothing about these numbers and have only a?
black-box computing a(v) for any given vector v with non-negative?
integer components. Can I anyhow find this sequence in OEIS and learn?
that its elements called "multinomial coefficients" ??
?
Thanks,?
Max?
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and
industry-leading spam and email virus protection.
From rsc at swtch.com Fri Nov 3 17:06:23 2006
From: rsc at swtch.com (Russ Cox)
Date: Fri, 3 Nov 2006 11:06:23 -0500
Subject: download seqs resulting from search
In-Reply-To: <002001c6ff3c$c0040f50$45c7e0d5@pcwou>
References: <002001c6ff3c$c0040f50$45c7e0d5@pcwou>
Message-ID:
> if I search for all number triangles with row sums equal to the factorials,
> I enter
> "row sum" "factorial"
> and get 9 pages of results in 'short' form.
> (1) how can I improve on this query?
Not sure.
> (2) how can I download them all in one go?
Add &n=100 to the URL
and you will get 100 results per page.
Then click on "text" formatting and save the
resulting page.
http://www.research.att.com/~njas/sequences/?q=%22row+sums%22+factorial&n=100&fmt=3
Russ
From franktaw at netscape.net Fri Nov 3 17:14:55 2006
From: franktaw at netscape.net (franktaw at netscape.net)
Date: Fri, 03 Nov 2006 11:14:55 -0500
Subject: download seqs resulting from search
In-Reply-To: <002001c6ff3c$c0040f50$45c7e0d5@pcwou>
References: <002001c6ff3c$c0040f50$45c7e0d5@pcwou>
Message-ID: <8C8CD7A55C060ED-FD0-B6C7@WEBMAIL-MA20.sysops.aol.com>
Try adding "keyword:tabl" to the search. Then (probably) repeat with
"keyword:tabf" instead - unless you aren't interested in irregular
tables. This won't be all in one go, but two isn't too bad.
Of course, there are undoubtably some tables which sum to factorials
that don't have the words "row sum" in them. And maybe some that just
reference A000142 instead of using the word "factorial".
Franklin T. Adams-Watters
-----Original Message-----
From: wouter.meeussen at pandora.be
dear all,
if I search for all number triangles with row sums equal to the
factorials,
I enter
"row sum" "factorial"
and get 9 pages of results in 'short' form.
(1) how can I improve on this query?
(2) how can I download them all in one go?
Wouter
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and
industry-leading spam and email virus protection.
From mlb at well.com Fri Nov 3 17:26:14 2006
From: mlb at well.com (Marc LeBrun)
Date: Fri, 03 Nov 2006 08:26:14 -0800
Subject: querying multidimensional sequences in OEIS
In-Reply-To: <8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com>
References:
<8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com>
Message-ID: <200611031625.kA3GP1mt017249@smtp.well.com>
>=franktaw at netscape.net
Good advice...maybe it could be made part of the tips-n-tricks section?
> just search for an early part of the sequence
Or sometimes you can search for a small set of "unusual" later,
larger, terms that will act as a kind of signature.
> Off hand, I can't think of any interesting functions of finite sequences of
> positive integers that depend on the order of the sequence.
Exponents in prime factorizations, say.
From franktaw at netscape.net Fri Nov 3 19:31:34 2006
From: franktaw at netscape.net (franktaw at netscape.net)
Date: Fri, 03 Nov 2006 13:31:34 -0500
Subject: querying multidimensional sequences in OEIS
In-Reply-To: <200611031625.kA3GP1mt017249@smtp.well.com>
References: <8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com> <200611031625.kA3GP1mt017249@smtp.well.com>
Message-ID: <8C8CD8D6CD483AD-FD0-C3EF@WEBMAIL-MA20.sysops.aol.com>
Nice suggestion. That would be A057335.
Franklin T. Adams-Watters
-----Original Message-----
From: mlb at well.com
>=franktaw at netscape.net?
> Off hand, I can't think of any interesting functions of finite
sequences of?
> positive integers that depend on the order of the sequence.?
?
Exponents in prime factorizations, say.?
?
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and
industry-leading spam and email virus protection.
From maxale at gmail.com Fri Nov 3 21:26:20 2006
From: maxale at gmail.com (Max A.)
Date: Fri, 3 Nov 2006 12:26:20 -0800
Subject: querying multidimensional sequences in OEIS
In-Reply-To: <200611031625.kA3GP1mt017249@smtp.well.com>
References:
<8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com>
<200611031625.kA3GP1mt017249@smtp.well.com>
Message-ID:
On 11/3/06, Marc LeBrun wrote:
> > Off hand, I can't think of any interesting functions of finite sequences of
> > positive integers that depend on the order of the sequence.
>
> Exponents in prime factorizations, say.
Oh, that is a very nice suggestion.
Are there any multidimensional sequences represented this way in OEIS?
I have a number of multidimensional sequences in mind that I'd like to
see in OEIS.
E.g.: the coefficients of incomplete Bell polynomials:
b( [k1, k2, ..., kn] ) = (k1 + 2*k2 + ... + n*kn)! / (k1! * k2! * ...
* kn!) / (1!^k1 * 2!^k2 * ... * n!^kn)
and looking similar the number of permutations with given cycle structure:
c( [k1, k2, ..., kn] ) = (k1 + 2*k2 + ... + n*kn)! / (k1! * k2! * ...
* kn!) / (1^k1 * 2^k2 * ... * n^kn)
Max
From mlb at well.com Fri Nov 3 22:41:00 2006
From: mlb at well.com (Marc LeBrun)
Date: Fri, 03 Nov 2006 13:41:00 -0800
Subject: querying multidimensional sequences in OEIS
In-Reply-To:
References:
<8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com>
<200611031625.kA3GP1mt017249@smtp.well.com>
Message-ID: <200611032139.kA3LdZSV024106@smtp.well.com>
> I have a number of multidimensional sequences in mind that I'd like to
> see in OEIS. E.g.: the coefficients of incomplete Bell polynomials:
Two possible ways to submit sequences of tuples T(1),T(2),...
where T(i)=[T(i,1),T(i,2),...] are:
A. Define a traversal order by a map (i,j) <--> n and set a(n) = T(i,j).
This gives the tabl/tabf style of entry.
B. Encode each tuple as a single number, say by using it as factor
exponents: T(i) --> 2^T(i,1) * 3^T(i,2) * 5^T(i,3) *...
For example, for Pascal's triangle
A: 1; 1, 1; 1, 2, 1; 1, 3, 3, 1;...
B: 2, 6, 90, 47250,...
However there are a variety of possible ways to do these things--for example
you might subtract 1 from all the Pascal exponents, B': 1, 1, 3, 225,...
Or traverse in the order (1,1), (2,1), (1,2), (3,1), (1,3), (2,2), (1,4),...
which recursively interleaves sequences instead of the usual diagonalizing.
But this sort of thing can also be abused to breed swarms of silly sequences,
so it should be well-motivated.
It's nicest to use familiar schemes (eg as Frank noted for partitions).
From franktaw at netscape.net Fri Nov 3 22:41:18 2006
From: franktaw at netscape.net (franktaw at netscape.net)
Date: Fri, 03 Nov 2006 16:41:18 -0500
Subject: Possibly more errors in OEIS?
Message-ID: <8C8CDA7EE6FDEF2-12C-B6F@WEBMAIL-MA20.sysops.aol.com>
Looking at sequences with keyword:cons, there is a marked shortage of
sequences with a given duplicate digit (excluding 0), compared with
those with a given other pair of digits. For example, restricting our
attention to sequences not of the form "Decimal expansion of 1/n", and
ignoring all pairs involving 0 or 1, there are an average of about 1710
sequences with any given digit pair, but an average of only about 1627
with duplicate pairs. 10 of this difference is explained by the 10
"selvage" sequences, which have no duplicate digits, but the rest is
unexplained.
I'm guessing that there may be an input error here; that duplicate
digits sometimes get combined at some point in the process, whether
before or after submission. I'm not sure how to test for this, short
of examining the "cons" sequences and determining which are correct.
Mostly for Neil,
Sequences A081780 to A081796, "continued cotangent" sequences, all have
the "cons" keyword, but they should not.
Also, sequence A114721 has the "cons" keyword; it should instead have
the "frac" keyword.
Franklin T. Adams-Watters
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and
industry-leading spam and email virus protection.
From jawbrey at att.net Fri Nov 3 22:51:00 2006
From: jawbrey at att.net (Jon Awbrey)
Date: Fri, 03 Nov 2006 16:51:00 -0500
Subject: querying multidimensional sequences in OEIS
References:
<8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com>
<200611031625.kA3GP1mt017249@smtp.well.com>
<200611032139.kA3LdZSV024106@smtp.well.com>
Message-ID: <454BB9C4.CCCA8C55@att.net>
o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o
you might get some ideas from looking at the
tables of "primal codes" or "primal functions"
that I compiled, for instance, here:
http://stderr.org/pipermail/inquiry/2005-July/002846.html
ja
Marc LeBrun wrote:
>
> > I have a number of multidimensional sequences in mind that I'd like to
> > see in OEIS. E.g.: the coefficients of incomplete Bell polynomials:
>
> Two possible ways to submit sequences of tuples T(1),T(2),...
> where T(i)=[T(i,1),T(i,2),...] are:
>
> A. Define a traversal order by a map (i,j) <--> n and set a(n) = T(i,j).
> This gives the tabl/tabf style of entry.
>
> B. Encode each tuple as a single number, say by using it as factor
> exponents: T(i) --> 2^T(i,1) * 3^T(i,2) * 5^T(i,3) *...
>
> For example, for Pascal's triangle
>
> A: 1; 1, 1; 1, 2, 1; 1, 3, 3, 1;...
>
> B: 2, 6, 90, 47250,...
>
> However there are a variety of possible ways to do these things--for example
> you might subtract 1 from all the Pascal exponents, B': 1, 1, 3, 225,...
>
> Or traverse in the order (1,1), (2,1), (1,2), (3,1), (1,3), (2,2), (1,4),...
> which recursively interleaves sequences instead of the usual diagonalizing.
>
> But this sort of thing can also be abused to breed swarms of silly sequences,
> so it should be well-motivated.
>
> It's nicest to use familiar schemes (eg as Frank noted for partitions).
o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o
inquiry e-lab: http://stderr.org/pipermail/inquiry/
citizendium development forums: http://smf.citizendium.org
http://www.textop.org/wiki/index.php?title=User:Jon_Awbrey
wikinfo: http://wikinfo.org/wiki.php?title=User:Jon_Awbrey
wp review: http://wikipediareview.com/index.php?showuser=398
o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o
From maxale at gmail.com Fri Nov 3 23:02:04 2006
From: maxale at gmail.com (Max A.)
Date: Fri, 3 Nov 2006 14:02:04 -0800
Subject: querying multidimensional sequences in OEIS
In-Reply-To: <200611032139.kA3LdZSV024106@smtp.well.com>
References:
<8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com>
<200611031625.kA3GP1mt017249@smtp.well.com>
<200611032139.kA3LdZSV024106@smtp.well.com>
Message-ID:
On 11/3/06, Marc LeBrun wrote:
> > I have a number of multidimensional sequences in mind that I'd like to
> > see in OEIS. E.g.: the coefficients of incomplete Bell polynomials:
>
> Two possible ways to submit sequences of tuples T(1),T(2),...
> where T(i)=[T(i,1),T(i,2),...] are:
>
> A. Define a traversal order by a map (i,j) <--> n and set a(n) = T(i,j).
> This gives the tabl/tabf style of entry.
>
> B. Encode each tuple as a single number, say by using it as factor
> exponents: T(i) --> 2^T(i,1) * 3^T(i,2) * 5^T(i,3) *...
As I understand, A is applicable only to the cases where the dimension
of tuples is fixed while B is perfectly fine for tuples with variable
dimensions (what I'm currently interested in).
>
> For example, for Pascal's triangle
>
> A: 1; 1, 1; 1, 2, 1; 1, 3, 3, 1;...
>
> B: 2, 6, 90, 47250,...
Does B apply to Pascal triangle?
The 5-th term corresponds to the tuple [0,0,5], what it is in Pascal triangle?
Max
From franktaw at netscape.net Fri Nov 3 23:06:02 2006
From: franktaw at netscape.net (franktaw at netscape.net)
Date: Fri, 03 Nov 2006 17:06:02 -0500
Subject: querying multidimensional sequences in OEIS
In-Reply-To: <8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com>
References: <8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com>
Message-ID: <8C8CDAB62830D6B-12C-D5A@WEBMAIL-MA20.sysops.aol.com>
>Off hand, I can't think of any interesting functions of finite
sequences of
>positive integers that depend on the order of the sequence.
Of course, I no sooner wrote that than I started thinking of such
functions.
I'm not sure any of these are tremendously interesting, but they're at
least
somewhat so.
In the following, b(i), i = 1..k is the finite sequence. I'm starting
all these
sequences with the empty sequence, but I searched for them without
that first term. All are shown here in A066099 order.
Alternating sum
Sum_i (-1)^{i+1) b(i)
0,1,2,0,3,1,-1,1,4,2,0,2,-2,0,2,0
Binomial sum
Sum_i C(k-1,i-1) b(i)
0,1,2,2,3,3,3,4,4,4,4,5,4,6,5,8
Inverse binomial sum
Sum_i (-1)^{i+1) C(k-1,i-1) b(i)
0,1,2,0,3,1,-1,0,4,2,0,1,-2,-2,1,0
Weighted sum
sum_i i b(i)
0,1,2,3,3,4,5,6,4,5,6,7,7,8,9,10
This is A029931
Zero-based weighted sum
sum_i (i-1) b(i)
0,0,0,1,0,1,2,3,0,1,2,3,3,4,5,6
Sum of products of consecutive elements
sum_{i=1}^{k-1} b(i) b(i+1)
0,0,0,1,0,2,2,2,0,3,4,3,3,4,3,3
Number of rises
sum_{b(i)>b(i-1)} 1
0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,0
Number of falls
sum_{b(i)=b(i-1)} 1
0,0,0,1,0,1,0,2,0,1,1,2,0,1,1,3
Number of monotonically increasing runs
1 + number of falls, but 0 for empty sequence
0,1,1,1,1,2,1,1,1,2,1,2,1,2,1,1
Number of monotonically decreasing runs
1 + number of rises, but 0 for empty sequence
0,1,1,1,1,1,2,1,1,1,1,1,2,2,2,1
Number of runs of equal terms
1 + number of unchanged, but 0 for empty sequence
0,1,1,2,1,1,1,3,1,1,2,2,1,1,2,4
Number of distinct non-empty subsequences
0,1,1,2,1,3,3,3,1,3,2,5,3,5,5,4
E.g., f(1,1) = 2, for the sequences [1], and [1,1].
Number of distinct subsequences
1 + number of distinct non-empty subsequences
1,2,2,3,2,4,4,4,2,4,3,6,4,6,6,5
Number of set partitions
List parts of set partition by their smallest element, and count the
part sizes.
E.g., 1|2,4|3 (also known as {1,2,3,2}) would count for the sequence
[1,2,1].
1,1,1,1,1,2,1,1,1,3,3,3,1,2,1,1
Number of permutations
List permutations in cycle form, sorted by the smallest element in the
cycle,
and count the cycle lengths.
Number of set partitions * Product_i (b(i)-1)!
1,1,1,1,2,2,1,1,6,6,3,3,2,2,1,1
Number of partially ordered sets (unlabelled) by rank
The rank of an element in a poset is the length of the longest chain of
which it
is the largest element.
1,1,1,1,1,2,1,1,1,3,4,3,1,2,1,1
Number of partially ordered sets (labelled) by rank
1,1,1,2,1,9,3,6,1,28,54,60,4,36,12,24
Number of partially ordered sets (naturally labelled) by rank
Naturally labelled means labels are consistent with the ordering.
1,1,1,1,1,4,1,1,1,11,13,8,1,4,1,1
Number of forests (unlabelled, unordered) with b(i) nodes at height i.
1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,2,1,2,2,1,1,1,1,2,1,1,1,1,1
... and, of course, various other forest options.
If there is agreement that this is the right order for these sequences,
I'll try
to find time to submit them.
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and
industry-leading spam and email virus protection.
From tbaruchel at free.fr Fri Nov 3 23:17:29 2006
From: tbaruchel at free.fr (Thomas Baruchel)
Date: Fri, 3 Nov 2006 23:17:29 +0100
Subject: [math-fun] A fast (written in assembly) library for continued
fractions
Message-ID: <20061103221729.GB2467@>
I wrote for my own purposes the following X86 assembly code, intended
to be called from GFORTRAN. Such a thing should only work if you have
a similar configuration to mine, but anyway, it may interest you.
I wanted a fast library for computing the length in the continued
fraction expansion of sqrt(n) for any integer n that can fit in
a REAL*8 gfortran type for statistical purposes. I also included
a faster function that tells if this length is odd or even. Though
I am not an assembly expert, there should be a significant speed
improvement if you use this code rather than your own fortran
functions, since the whole process is performed on the FPU stack
with no load/store useless travels.
It may help you, it may not. You know about these kinds of software...
Instructions are at the beginning of the file, as comments.
Read them carefully. Code is below.
Regards.
------------------ FILE quad.s BEGINS BELOW --------------------
/*
Compile your piece of code with something like
gfortran -fno-underscoring mycode.f90 quad.s
and add freely your own flags. Enjoy !
Of course, if you don't want to use the -fno-underscoring
option for some reason, you can add an underscore at the end
of the global functions below, like that:
.globl initfpu_
initfpu_:
it should work.
Remember this piece of code has the following status:
Seems to work for me, maybe it will also seem for you,
maybe your computer will explode, maybe it will make the
earth explode, maybe God will choose not to have created
the world, think about it before using it.
(Anyway, if you see some kind of bug, please let me know ;-)
Remember that
a) this is x86 assembly code;
b) it uses the GNU AS (gas) syntax;
c) it uses the gfortran calling conventions;
(now you understand why you can't expect it will works ;-)
Usage. In your program (or subroutine or whatever), declare
the function you need like:
logical :: oddperiod
integer*8 :: period
(the two subroutines don't need to be declared).
Then use
integer*4 :: oldfpustatus
call initfpu(oldfpustatus)
before any computation; if you don't do it, it won't work.
When you don't need any more the library,
call restorefpu(oldfpustatus)
will restore the control register of the FPU.
During all that time, you shouldn't be disturbed too much,
for your own mathematical operations, but
remember the rounding mode of the FPU has been set to
"round down" (rather than the usual "nearest").
How does it work? The whole computation is performed on the
stack of the FPU; only integer values are needed for these
tasks, but they are stored as REAL*10, 80 bits reals. They
are not converted to anything during the whole process, thus
it should work for great integers stored in your own REAL*8,
64 bits reals. Of course, it may happen (I think it will never,
but didn't check) that an intermediate result can not fit in
such a REAL*10 register; in that case, read above what is
written about the end of the world...
*/
/*
call initfpu(integer*4)
=====================
This subroutine should be called before any other call to the
library; its purpose is to set the rounding control in the FPU
control register to the "round down" mode.
The subroutine puts in the integer variable the initial value
of the FPU control register.
If you want to use often this subroutine (which you shouldn't:
speed being an issue, this subroutine is intended to be used
once, then the functions billions of times, not the contrary ;-),
maybe removing the "fnclex" can improve the speed, since I don't
think it plays a great role here.
*/
.globl initfpu
initfpu:
pushl %ebp
movl %esp, %ebp
movl 8(%ebp), %eax
fnstcw (%eax)
fwait
movw (%eax), %dx
andb $0xf3, %dh
orb $0x4, %dh
movw %dx, 2(%eax)
fnclex
fldcw 2(%eax)
fwait
movw $0, 2(%eax)
leave
ret
/*
call restorefpu(integer*4)
========================
This subroutine should be used for restoring the initial state of
the FPU control register; the integer variable must contain the
right value (which should have been previously set by the
subroutine initfpu).
*/
.globl restorefpu
restorefpu:
pushl %ebp
movl %esp, %ebp
movl 8(%ebp), %eax
fclex
fldcw (%eax)
leave
ret
/*
sqrtint( real double precision : REAL*8 )
=========================================
This function returns the integer part of the square root
of the given real. The return value has itself the real type.
*/
.global sqrtint
sqrtint:
pushl %ebp
movl %esp, %ebp
movl 8(%ebp), %eax
fldl (%eax)
fsqrt
frndint
leave
ret
/*
oddperiod( real double precision : REAL*8 )
===========================================
Despite the type of the real argument, the variable has to
be some integer value stored as a double precision.
The function has the logical type. It returns FALSE if
the argument is a perfect square or if the continued
fraction expansion of its square root has an even period
length; it returns TRUE in the remaining case.
oddperiod(dble(25)) --> FALSE
oddperiod(dble(13)) --> TRUE
oddperiod(dble(12)) --> FALSE
If it may help, you can declare the function as an integer*4
type rather than a logical one (output will be 0 or 1).
Though it seems to work with integer*8, I am not absolutely
sure it *always* will (unless you add the following instruction
movl $0, %edx
at the beginning of the code (for instance between the current
second and third lines of code), but really why would you
do it? Maybe something in the calling conventions is such that
the register EDX already contains 0, but, again, who cares?
If you read the instructions for the period() function, you
will learn about some 2^32 limitations, but you don't have to
care about that here: the length is not kept in any register
during the computation and the code should work as long as the
values in the FPU stack are the right one.
*/
.global oddperiod
oddperiod:
pushl %ebp
movl %esp, %ebp
movl 8(%ebp), %eax
fldln2
fldl (%eax)
fld %st
fsqrt
frndint
fld %st
fld %st
fmul %st, %st
fld %st(3)
fsubp %st, %st(1)
fcom %st(4)
fstsw %ax
fwait
sahf
ja oddperiod0
ffree %st
ffree %st(1)
ffree %st(2)
ffree %st(3)
ffree %st(4)
oddperiod2:
movl $0, %eax
leave
ret
oddperiod0:
fld %st(1)
fadd %st(3), %st
fdiv %st(1), %st
frndint
fld %st(2)
fld %st(1)
fmul %st(3), %st
fsubp %st, %st(1)
fxch %st(3)
fsub %st(3), %st
fabs
fcomp %st(6)
fstsw %ax
fwait
sahf
ja oddperiod1
fld %st(3)
fadd %st, %st
fsubp %st, %st(1)
fcomp %st(5)
fstsw %ax
fwait
ffree %st
ffree %st(1)
ffree %st(2)
ffree %st(3)
ffree %st(4)
sahf
ja oddperiod2
movl $1, %eax
leave
ret
oddperiod1:
ffree %st
fincstp
fld %st(1)
fmul %st, %st
fld %st(4)
fsubp %st, %st(1)
fdivp %st, %st(1)
frndint
jmp oddperiod0
/*
period( real double precision : REAL*8 )
========================================
Despite the type of the real argument, the variable has to
be some integer value stored as a double precision.
The function has integer*8 type, though the output
can't be greater than 2^32-1 (this choice has been made
for avoiding sign problem when the result is greater
(or equal) then 2^31 and smaller then 2^32.
The result is the length of period in the continued fraction
expansion of the square root of the given integer.
If speed is really for you an obsession, remember that it
is highly unprobable that you use that library for periods
between the two fatidic values. Maybe it will increase a little
the speed to use integer*4 which allows to delete twice the line
movl $0,%edx
(not the first time it appears, but the second and third one).
If you try such a thing and see some speed improvement, please
let me know.
*/
.global period
period:
pushl %ebp
movl %esp, %ebp
movl 8(%ebp), %eax
movl $0, %edx
fldln2
fldl (%eax)
fld %st
fsqrt
frndint
fld %st
fld %st
fmul %st, %st
fld %st(3)
fsubp %st, %st(1)
fcom %st(4)
fstsw %ax
fwait
sahf
ja period0
ffree %st
ffree %st(1)
ffree %st(2)
ffree %st(3)
ffree %st(4)
movl %edx, %eax
movl $0, %edx
leave
ret
period0:
inc %edx
fld %st(1)
fadd %st(3), %st
fdiv %st(1), %st
frndint
fld %st(2)
fld %st(1)
fmul %st(3), %st
fsubp %st, %st(1)
fxch %st(3)
fsub %st(3), %st
fabs
fcomp %st(6)
fstsw %ax
fwait
sahf
ja period1
fld %st(3)
fadd %st, %st
fsubp %st, %st(1)
fcomp %st(5)
fstsw %ax
fwait
ffree %st
ffree %st(1)
ffree %st(2)
ffree %st(3)
ffree %st(4)
sahf
jb period2
add %edx, %edx
period2:
movl %edx, %eax
movl $0,%edx
leave
ret
period1:
ffree %st
fincstp
fld %st(1)
fmul %st, %st
fld %st(4)
fsubp %st, %st(1)
fdivp %st, %st(1)
frndint
jmp period0
_______________________________________________
math-fun mailing list
math-fun at mailman.xmission.com
http://mailman.xmission.com/cgi-bin/mailman/listinfo/math-fun
From tbaruchel at free.fr Fri Nov 3 23:17:29 2006
From: tbaruchel at free.fr (Thomas Baruchel)
Date: Fri, 3 Nov 2006 23:17:29 +0100
Subject: A fast (written in assembly) library for continued fractions
Message-ID: <20061103221729.GB2467@>
I wrote for my own purposes the following X86 assembly code, intended
to be called from GFORTRAN. Such a thing should only work if you have
a similar configuration to mine, but anyway, it may interest you.
I wanted a fast library for computing the length in the continued
fraction expansion of sqrt(n) for any integer n that can fit in
a REAL*8 gfortran type for statistical purposes. I also included
a faster function that tells if this length is odd or even. Though
I am not an assembly expert, there should be a significant speed
improvement if you use this code rather than your own fortran
functions, since the whole process is performed on the FPU stack
with no load/store useless travels.
It may help you, it may not. You know about these kinds of software...
Instructions are at the beginning of the file, as comments.
Read them carefully. Code is below.
Regards.
------------------ FILE quad.s BEGINS BELOW --------------------
/*
Compile your piece of code with something like
gfortran -fno-underscoring mycode.f90 quad.s
and add freely your own flags. Enjoy !
Of course, if you don't want to use the -fno-underscoring
option for some reason, you can add an underscore at the end
of the global functions below, like that:
.globl initfpu_
initfpu_:
it should work.
Remember this piece of code has the following status:
Seems to work for me, maybe it will also seem for you,
maybe your computer will explode, maybe it will make the
earth explode, maybe God will choose not to have created
the world, think about it before using it.
(Anyway, if you see some kind of bug, please let me know ;-)
Remember that
a) this is x86 assembly code;
b) it uses the GNU AS (gas) syntax;
c) it uses the gfortran calling conventions;
(now you understand why you can't expect it will works ;-)
Usage. In your program (or subroutine or whatever), declare
the function you need like:
logical :: oddperiod
integer*8 :: period
(the two subroutines don't need to be declared).
Then use
integer*4 :: oldfpustatus
call initfpu(oldfpustatus)
before any computation; if you don't do it, it won't work.
When you don't need any more the library,
call restorefpu(oldfpustatus)
will restore the control register of the FPU.
During all that time, you shouldn't be disturbed too much,
for your own mathematical operations, but
remember the rounding mode of the FPU has been set to
"round down" (rather than the usual "nearest").
How does it work? The whole computation is performed on the
stack of the FPU; only integer values are needed for these
tasks, but they are stored as REAL*10, 80 bits reals. They
are not converted to anything during the whole process, thus
it should work for great integers stored in your own REAL*8,
64 bits reals. Of course, it may happen (I think it will never,
but didn't check) that an intermediate result can not fit in
such a REAL*10 register; in that case, read above what is
written about the end of the world...
*/
/*
call initfpu(integer*4)
=====================
This subroutine should be called before any other call to the
library; its purpose is to set the rounding control in the FPU
control register to the "round down" mode.
The subroutine puts in the integer variable the initial value
of the FPU control register.
If you want to use often this subroutine (which you shouldn't:
speed being an issue, this subroutine is intended to be used
once, then the functions billions of times, not the contrary ;-),
maybe removing the "fnclex" can improve the speed, since I don't
think it plays a great role here.
*/
.globl initfpu
initfpu:
pushl %ebp
movl %esp, %ebp
movl 8(%ebp), %eax
fnstcw (%eax)
fwait
movw (%eax), %dx
andb $0xf3, %dh
orb $0x4, %dh
movw %dx, 2(%eax)
fnclex
fldcw 2(%eax)
fwait
movw $0, 2(%eax)
leave
ret
/*
call restorefpu(integer*4)
========================
This subroutine should be used for restoring the initial state of
the FPU control register; the integer variable must contain the
right value (which should have been previously set by the
subroutine initfpu).
*/
.globl restorefpu
restorefpu:
pushl %ebp
movl %esp, %ebp
movl 8(%ebp), %eax
fclex
fldcw (%eax)
leave
ret
/*
sqrtint( real double precision : REAL*8 )
=========================================
This function returns the integer part of the square root
of the given real. The return value has itself the real type.
*/
.global sqrtint
sqrtint:
pushl %ebp
movl %esp, %ebp
movl 8(%ebp), %eax
fldl (%eax)
fsqrt
frndint
leave
ret
/*
oddperiod( real double precision : REAL*8 )
===========================================
Despite the type of the real argument, the variable has to
be some integer value stored as a double precision.
The function has the logical type. It returns FALSE if
the argument is a perfect square or if the continued
fraction expansion of its square root has an even period
length; it returns TRUE in the remaining case.
oddperiod(dble(25)) --> FALSE
oddperiod(dble(13)) --> TRUE
oddperiod(dble(12)) --> FALSE
If it may help, you can declare the function as an integer*4
type rather than a logical one (output will be 0 or 1).
Though it seems to work with integer*8, I am not absolutely
sure it *always* will (unless you add the following instruction
movl $0, %edx
at the beginning of the code (for instance between the current
second and third lines of code), but really why would you
do it? Maybe something in the calling conventions is such that
the register EDX already contains 0, but, again, who cares?
If you read the instructions for the period() function, you
will learn about some 2^32 limitations, but you don't have to
care about that here: the length is not kept in any register
during the computation and the code should work as long as the
values in the FPU stack are the right one.
*/
.global oddperiod
oddperiod:
pushl %ebp
movl %esp, %ebp
movl 8(%ebp), %eax
fldln2
fldl (%eax)
fld %st
fsqrt
frndint
fld %st
fld %st
fmul %st, %st
fld %st(3)
fsubp %st, %st(1)
fcom %st(4)
fstsw %ax
fwait
sahf
ja oddperiod0
ffree %st
ffree %st(1)
ffree %st(2)
ffree %st(3)
ffree %st(4)
oddperiod2:
movl $0, %eax
leave
ret
oddperiod0:
fld %st(1)
fadd %st(3), %st
fdiv %st(1), %st
frndint
fld %st(2)
fld %st(1)
fmul %st(3), %st
fsubp %st, %st(1)
fxch %st(3)
fsub %st(3), %st
fabs
fcomp %st(6)
fstsw %ax
fwait
sahf
ja oddperiod1
fld %st(3)
fadd %st, %st
fsubp %st, %st(1)
fcomp %st(5)
fstsw %ax
fwait
ffree %st
ffree %st(1)
ffree %st(2)
ffree %st(3)
ffree %st(4)
sahf
ja oddperiod2
movl $1, %eax
leave
ret
oddperiod1:
ffree %st
fincstp
fld %st(1)
fmul %st, %st
fld %st(4)
fsubp %st, %st(1)
fdivp %st, %st(1)
frndint
jmp oddperiod0
/*
period( real double precision : REAL*8 )
========================================
Despite the type of the real argument, the variable has to
be some integer value stored as a double precision.
The function has integer*8 type, though the output
can't be greater than 2^32-1 (this choice has been made
for avoiding sign problem when the result is greater
(or equal) then 2^31 and smaller then 2^32.
The result is the length of period in the continued fraction
expansion of the square root of the given integer.
If speed is really for you an obsession, remember that it
is highly unprobable that you use that library for periods
between the two fatidic values. Maybe it will increase a little
the speed to use integer*4 which allows to delete twice the line
movl $0,%edx
(not the first time it appears, but the second and third one).
If you try such a thing and see some speed improvement, please
let me know.
*/
.global period
period:
pushl %ebp
movl %esp, %ebp
movl 8(%ebp), %eax
movl $0, %edx
fldln2
fldl (%eax)
fld %st
fsqrt
frndint
fld %st
fld %st
fmul %st, %st
fld %st(3)
fsubp %st, %st(1)
fcom %st(4)
fstsw %ax
fwait
sahf
ja period0
ffree %st
ffree %st(1)
ffree %st(2)
ffree %st(3)
ffree %st(4)
movl %edx, %eax
movl $0, %edx
leave
ret
period0:
inc %edx
fld %st(1)
fadd %st(3), %st
fdiv %st(1), %st
frndint
fld %st(2)
fld %st(1)
fmul %st(3), %st
fsubp %st, %st(1)
fxch %st(3)
fsub %st(3), %st
fabs
fcomp %st(6)
fstsw %ax
fwait
sahf
ja period1
fld %st(3)
fadd %st, %st
fsubp %st, %st(1)
fcomp %st(5)
fstsw %ax
fwait
ffree %st
ffree %st(1)
ffree %st(2)
ffree %st(3)
ffree %st(4)
sahf
jb period2
add %edx, %edx
period2:
movl %edx, %eax
movl $0,%edx
leave
ret
period1:
ffree %st
fincstp
fld %st(1)
fmul %st, %st
fld %st(4)
fsubp %st, %st(1)
fdivp %st, %st(1)
frndint
jmp period0
From jvospost3 at gmail.com Fri Nov 3 23:36:07 2006
From: jvospost3 at gmail.com (Jonathan Post)
Date: Fri, 3 Nov 2006 14:36:07 -0800
Subject: querying multidimensional sequences in OEIS
In-Reply-To: <8C8CDAB62830D6B-12C-D5A@WEBMAIL-MA20.sysops.aol.com>
References:
<8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com>
<8C8CDAB62830D6B-12C-D5A@WEBMAIL-MA20.sysops.aol.com>
Message-ID: <5542af940611031436w1d4a8081wc840fb7a2a02d41b@mail.gmail.com>
I think the example givem without A number, is:
A007188
Multiplicative encoding of Pascal triangle: Product p(i+1)^C(n,i).
(Formerly M1722)
+0
2
2, 6, 90, 47250, 66852843750, 2806877704512541816406250,
1216935896582703898519354781702537118597533386230468750
There might be other Godel-coded sequences, and the like, besides Conway's
brilliant "Fractran", above and beyond those with "decimal Godelization" --
but usually these quickly lead to numbers too large for OEIS.
-- Jonathan Vos Post
On 11/3/06, franktaw at netscape.net wrote:
>
>
> >Off hand, I can't think of any interesting functions of finite
> sequences of
> >positive integers that depend on the order of the sequence.
>
> Of course, I no sooner wrote that than I started thinking of such
> functions.
> I'm not sure any of these are tremendously interesting, but they're at
> least
> somewhat so.
>
> In the following, b(i), i = 1..k is the finite sequence. I'm starting
> all these
> sequences with the empty sequence, but I searched for them without
> that first term. All are shown here in A066099 order.
>
> Alternating sum
> Sum_i (-1)^{i+1) b(i)
> 0,1,2,0,3,1,-1,1,4,2,0,2,-2,0,2,0
>
> Binomial sum
> Sum_i C(k-1,i-1) b(i)
> 0,1,2,2,3,3,3,4,4,4,4,5,4,6,5,8
>
> Inverse binomial sum
> Sum_i (-1)^{i+1) C(k-1,i-1) b(i)
> 0,1,2,0,3,1,-1,0,4,2,0,1,-2,-2,1,0
>
> Weighted sum
> sum_i i b(i)
> 0,1,2,3,3,4,5,6,4,5,6,7,7,8,9,10
> This is A029931
>
> Zero-based weighted sum
> sum_i (i-1) b(i)
> 0,0,0,1,0,1,2,3,0,1,2,3,3,4,5,6
>
> Sum of products of consecutive elements
> sum_{i=1}^{k-1} b(i) b(i+1)
> 0,0,0,1,0,2,2,2,0,3,4,3,3,4,3,3
>
> Number of rises
> sum_{b(i)>b(i-1)} 1
> 0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,0
>
> Number of falls
> sum_{b(i) 0,0,0,0,0,1,0,0,0,1,0,1,0,1,0,0
>
> Number of unchanged
> sum_{b(i)=b(i-1)} 1
> 0,0,0,1,0,0,0,2,0,0,1,1,0,0,1,3
>
> Number of non-rises
> sum_{b(i)<=b(i-1)} 1
> 0,0,0,1,0,0,1,2,0,0,1,1,1,1,2,3
>
> Number of non-falls
> sum_{b(i)>=b(i-1)} 1
> 0,0,0,1,0,1,0,2,0,1,1,2,0,1,1,3
>
> Number of monotonically increasing runs
> 1 + number of falls, but 0 for empty sequence
> 0,1,1,1,1,2,1,1,1,2,1,2,1,2,1,1
>
> Number of monotonically decreasing runs
> 1 + number of rises, but 0 for empty sequence
> 0,1,1,1,1,1,2,1,1,1,1,1,2,2,2,1
>
> Number of runs of equal terms
> 1 + number of unchanged, but 0 for empty sequence
> 0,1,1,2,1,1,1,3,1,1,2,2,1,1,2,4
>
> Number of distinct non-empty subsequences
> 0,1,1,2,1,3,3,3,1,3,2,5,3,5,5,4
> E.g., f(1,1) = 2, for the sequences [1], and [1,1].
>
> Number of distinct subsequences
> 1 + number of distinct non-empty subsequences
> 1,2,2,3,2,4,4,4,2,4,3,6,4,6,6,5
>
> Number of set partitions
> List parts of set partition by their smallest element, and count the
> part sizes.
> E.g., 1|2,4|3 (also known as {1,2,3,2}) would count for the sequence
> [1,2,1].
> 1,1,1,1,1,2,1,1,1,3,3,3,1,2,1,1
>
> Number of permutations
> List permutations in cycle form, sorted by the smallest element in the
> cycle,
> and count the cycle lengths.
> Number of set partitions * Product_i (b(i)-1)!
> 1,1,1,1,2,2,1,1,6,6,3,3,2,2,1,1
>
> Number of partially ordered sets (unlabelled) by rank
> The rank of an element in a poset is the length of the longest chain of
> which it
> is the largest element.
> 1,1,1,1,1,2,1,1,1,3,4,3,1,2,1,1
>
> Number of partially ordered sets (labelled) by rank
> 1,1,1,2,1,9,3,6,1,28,54,60,4,36,12,24
>
> Number of partially ordered sets (naturally labelled) by rank
> Naturally labelled means labels are consistent with the ordering.
> 1,1,1,1,1,4,1,1,1,11,13,8,1,4,1,1
>
> Number of forests (unlabelled, unordered) with b(i) nodes at height i.
> 1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,2,1,2,2,1,1,1,1,2,1,1,1,1,1
>
> ... and, of course, various other forest options.
>
> If there is agreement that this is the right order for these sequences,
> I'll try
> to find time to submit them.
> ________________________________________________________________________
> Check Out the new free AIM(R) Mail -- 2 GB of storage and
> industry-leading spam and email virus protection.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From jvospost3 at gmail.com Sat Nov 4 00:59:34 2006
From: jvospost3 at gmail.com (Jonathan Post)
Date: Fri, 3 Nov 2006 15:59:34 -0800
Subject: querying multidimensional sequences in OEIS
In-Reply-To: <5542af940611031436w1d4a8081wc840fb7a2a02d41b@mail.gmail.com>
References:
<8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com>
<8C8CDAB62830D6B-12C-D5A@WEBMAIL-MA20.sysops.aol.com>
<5542af940611031436w1d4a8081wc840fb7a2a02d41b@mail.gmail.com>
Message-ID: <5542af940611031559x7a45e57euad1d783fb83d82b@mail.gmail.com>
To give a specific example:
NEW SEQUENCE FROM Jonathan Vos Post
%I A000001
%S A000001 2, 6, 450, 2836181250, 81492043057751910481759423160156250,
4561157026363824997482074305569280581505536351717093893927260661169357729871499327113563125890139588096951624677718591308593750
%N A000001 Multiplicative encoding of Catalan's triangle: Product
p(i+1)^T(n,i).
%C A000001 This is to A009766 "Catalan's triangle T(n,k) (read by
rows)" as A007188 "Multiplicative encoding of Pascal triangle: Product
p(i+1)^C(n,i)" is to A007318 "Pascal's triangle read by rows."
%F A000001 a(n) = PRODUCT[i=i..n] p(i+1)^T(n,i), where T(n,i), are
Cataln's triangle as in a009766.
%e A000001 a(1) = p(1)^T(1,1) = 2^1 = 2.
a(2) = p(1)^T(2,1) * p(2)^T(2,2) = 2^1 * 3^1 = 6.
a(3) = p(1)^T(3,1) * p(2)^T(3,2) * p(3)^T(3,3) = 2^1 * 3^2 * 5^2 = 450.
a(4) = 2^1 * 3^3 * 5^5 * 7^5 = 2836181250.
a(5) = 2^1 * 3^4 * 5^9 * 7^14 * 11^14 =
81492043057751910481759423160156250.
a(6) = 2^1 * 3^5 * 5^14 * 7^28 * 11^42 * 13^42.
%Y A000001 Cf. A007188, A007318, A009766.
%O A000001 1
%K A000001 ,easy,nonn,
%A A000001 Jonathan Vos Post (jvospost2 at yahoo.com
),
Nov 03 2006
RH
RA 192.20.225.32
On 11/3/06, Jonathan Post wrote:
>
> I think the example givem without A number, is:
>
> A007188
> Multiplicative encoding of Pascal triangle: Product p(i+1)^C(n,i).
> (Formerly M1722)
> +0
> 2
> 2, 6, 90, 47250, 66852843750, 2806877704512541816406250,
> 1216935896582703898519354781702537118597533386230468750
> There might be other Godel-coded sequences, and the like, besides Conway's
> brilliant "Fractran", above and beyond those with "decimal Godelization" --
> but usually these quickly lead to numbers too large for OEIS.
>
> -- Jonathan Vos Post
>
> On 11/3/06, franktaw at netscape.net wrote:
> >
> >
> > >Off hand, I can't think of any interesting functions of finite
> > sequences of
> > >positive integers that depend on the order of the sequence.
> >
> > Of course, I no sooner wrote that than I started thinking of such
> > functions.
> > I'm not sure any of these are tremendously interesting, but they're at
> > least
> > somewhat so.
> >
> > In the following, b(i), i = 1..k is the finite sequence. I'm starting
> > all these
> > sequences with the empty sequence, but I searched for them without
> > that first term. All are shown here in A066099 order.
> >
> > Alternating sum
> > Sum_i (-1)^{i+1) b(i)
> > 0,1,2,0,3,1,-1,1,4,2,0,2,-2,0,2,0
> >
> > Binomial sum
> > Sum_i C(k-1,i-1) b(i)
> > 0,1,2,2,3,3,3,4,4,4,4,5,4,6,5,8
> >
> > Inverse binomial sum
> > Sum_i (-1)^{i+1) C(k-1,i-1) b(i)
> > 0,1,2,0,3,1,-1,0,4,2,0,1,-2,-2,1,0
> >
> > Weighted sum
> > sum_i i b(i)
> > 0,1,2,3,3,4,5,6,4,5,6,7,7,8,9,10
> > This is A029931
> >
> > Zero-based weighted sum
> > sum_i (i-1) b(i)
> > 0,0,0,1,0,1,2,3,0,1,2,3,3,4,5,6
> >
> > Sum of products of consecutive elements
> > sum_{i=1}^{k-1} b(i) b(i+1)
> > 0,0,0,1,0,2,2,2,0,3,4,3,3,4,3,3
> >
> > Number of rises
> > sum_{b(i)>b(i-1)} 1
> > 0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,0
> >
> > Number of falls
> > sum_{b(i) > 0,0,0,0,0,1,0,0,0,1,0,1,0,1,0,0
> >
> > Number of unchanged
> > sum_{b(i)=b(i-1)} 1
> > 0,0,0,1,0,0,0,2,0,0,1,1,0,0,1,3
> >
> > Number of non-rises
> > sum_{b(i)<=b(i-1)} 1
> > 0,0,0,1,0,0,1,2,0,0,1,1,1,1,2,3
> >
> > Number of non-falls
> > sum_{b(i)>=b(i-1)} 1
> > 0,0,0,1,0,1,0,2,0,1,1,2,0,1,1,3
> >
> > Number of monotonically increasing runs
> > 1 + number of falls, but 0 for empty sequence
> > 0,1,1,1,1,2,1,1,1,2,1,2,1,2,1,1
> >
> > Number of monotonically decreasing runs
> > 1 + number of rises, but 0 for empty sequence
> > 0,1,1,1,1,1,2,1,1,1,1,1,2,2,2,1
> >
> > Number of runs of equal terms
> > 1 + number of unchanged, but 0 for empty sequence
> > 0,1,1,2,1,1,1,3,1,1,2,2,1,1,2,4
> >
> > Number of distinct non-empty subsequences
> > 0,1,1,2,1,3,3,3,1,3,2,5,3,5,5,4
> > E.g., f(1,1) = 2, for the sequences [1], and [1,1].
> >
> > Number of distinct subsequences
> > 1 + number of distinct non-empty subsequences
> > 1,2,2,3,2,4,4,4,2,4,3,6,4,6,6,5
> >
> > Number of set partitions
> > List parts of set partition by their smallest element, and count the
> > part sizes.
> > E.g., 1|2,4|3 (also known as {1,2,3,2}) would count for the sequence
> > [1,2,1].
> > 1,1,1,1,1,2,1,1,1,3,3,3,1,2,1,1
> >
> > Number of permutations
> > List permutations in cycle form, sorted by the smallest element in the
> > cycle,
> > and count the cycle lengths.
> > Number of set partitions * Product_i (b(i)-1)!
> > 1,1,1,1,2,2,1,1,6,6,3,3,2,2,1,1
> >
> > Number of partially ordered sets (unlabelled) by rank
> > The rank of an element in a poset is the length of the longest chain of
> > which it
> > is the largest element.
> > 1,1,1,1,1,2,1,1,1,3,4,3,1,2,1,1
> >
> > Number of partially ordered sets (labelled) by rank
> > 1,1,1,2,1,9,3,6,1,28,54,60,4,36,12,24
> >
> > Number of partially ordered sets (naturally labelled) by rank
> > Naturally labelled means labels are consistent with the ordering.
> > 1,1,1,1,1,4,1,1,1,11,13,8,1,4,1,1
> >
> > Number of forests (unlabelled, unordered) with b(i) nodes at height i.
> > 1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,2,1,2,2,1,1,1,1,2,1,1,1,1,1
> >
> > ... and, of course, various other forest options.
> >
> > If there is agreement that this is the right order for these sequences,
> > I'll try
> > to find time to submit them.
> > ________________________________________________________________________
> > Check Out the new free AIM(R) Mail -- 2 GB of storage and
> > industry-leading spam and email virus protection.
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From davidwwilson at comcast.net Sat Nov 4 01:40:21 2006
From: davidwwilson at comcast.net (David Wilson)
Date: Fri, 3 Nov 2006 19:40:21 -0500
Subject: A124015 thoughts
Message-ID: <000601c6ffa9$cfe95890$6401a8c0@yourxhtr8hvc4p>
The description of A124015 is
%N A124015 Number of words with n letters in the National Scrabble Association Dictionary.
Some notes:
- It should be noted that the NSAD includes a restricted set of English words (words of 2 to 14 letters, no proper nouns or derivatives, no words with non-alphabetic characters (e.g, contractions, hyphenated words), and it is this restricted set that is being counted.
- The edition of the NSAD used to create A124015 should be specified, since the NSAD is continually edited. While I do not think that A124015 should change with each new edition of the NSAD, because it may be referenced in other literature. On the other hand, I don't think that a new sequence should be created for each new edition of the NSAD unless the new edition exhibits some interesting statistical departure from the current NSAD (e.g, in some future NSAD, the number of 9-letter words exceeds the number of 8-letter words). This is because I believe that the value of A124015 is mainly to indicate a distribution of English word lengths.
- On the other hand, I have always understood that 4-letter words are most common in literature (where small words appear more often). It might be interesting to create a sequence counting words of length n in the King James Bible, War and Peace, or some other suitably large and stable piece of English literature (we don't have to go overboard on this, just one or two examples indicating word length distributions in literature).
- Another interesting idea: In various languages, what is the distribution of the number of letters in the names of numbers from one to (say) one million?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From franktaw at netscape.net Sat Nov 4 02:49:48 2006
From: franktaw at netscape.net (franktaw at netscape.net)
Date: Fri, 03 Nov 2006 20:49:48 -0500
Subject: querying multidimensional sequences in OEIS
In-Reply-To: <5542af940611031559x7a45e57euad1d783fb83d82b@mail.gmail.com>
References: <8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com> <8C8CDAB62830D6B-12C-D5A@WEBMAIL-MA20.sysops.aol.com> <5542af940611031436w1d4a8081wc840fb7a2a02d41b@mail.gmail.com> <5542af940611031559x7a45e57euad1d783fb83d82b@mail.gmail.com>
Message-ID: <8C8CDCAA57554FD-ED8-5165@FWM-M11.sysops.aol.com>
This is OK, but it is the opposite of what we started out talking
about. This is a function from integers to sequences; but we are
talking about functions from sequences to integers. And not every
integer encodes a sequence in this way; only those in A055932.
Franklin T. Adams-Watters
-----Original Message-----
From: jvospost3 at gmail.com
To give a specific example:
NEW SEQUENCE FROM Jonathan Vos Post
%I A000001
%S A000001 2, 6, 450, 2836181250, 81492043057751910481759423160156250,
4561157026363824997482074305569280581505536351717093893927260661169357729
871499327113563125890139588096951624677718591308593750
%N A000001 Multiplicative encoding of Catalan's triangle: Product
p(i+1)^T(n,i).
%C A000001 This is to A009766 "Catalan's triangle T(n,k) (read by
rows)" as A007188 "Multiplicative encoding of Pascal triangle: Product
p(i+1)^C(n,i)" is to A007318 "Pascal's triangle read by rows."
%F A000001 a(n) = PRODUCT[i=i..n] p(i+1)^T(n,i), where T(n,i), are
Cataln's triangle as in a009766.
%e A000001 a(1) = p(1)^T(1,1) = 2^1 = 2.
a(2) = p(1)^T(2,1) * p(2)^T(2,2) = 2^1 * 3^1 = 6.
a(3) = p(1)^T(3,1) * p(2)^T(3,2) * p(3)^T(3,3) = 2^1 * 3^2 * 5^2 = 450.
a(4) = 2^1 * 3^3 * 5^5 * 7^5 = 2836181250.
a(5) = 2^1 * 3^4 * 5^9 * 7^14 * 11^14 =
81492043057751910481759423160156250.
a(6) = 2^1 * 3^5 * 5^14 * 7^28 * 11^42 * 13^42.
%Y A000001 Cf. A007188, A007318, A009766.
%O A000001 1
%K A000001 ,easy,nonn,
%A A000001 Jonathan Vos Post (
jvospost2 at yahoo.com), Nov 03 2006
RH
RA 192.20.225.32
On 11/3/06, Jonathan Post wrote: I think the
example givem without A number, is:
A007188
Multiplicative encoding of Pascal triangle: Product p(i+1)^C(n,i).
(Formerly M1722)
+0
2
2, 6, 90, 47250, 66852843750, 2806877704512541816406250,
1216935896582703898519354781702537118597533386230468750
There might be other Godel-coded sequences, and the like, besides
Conway's brilliant "Fractran", above and beyond those with "decimal
Godelization" -- but usually these quickly lead to numbers too large
for OEIS.
-- Jonathan Vos Post
On 11/3/06, franktaw at netscape.net < franktaw at netscape.net> wrote:
>Off hand, I can't think of any interesting functions of finite
sequences of
>positive integers that depend on the order of the sequence.
Of course, I no sooner wrote that than I started thinking of such
functions.
I'm not sure any of these are tremendously interesting, but they're at
least
somewhat so.
In the following, b(i), i = 1..k is the finite sequence. I'm starting
all these
sequences with the empty sequence, but I searched for them without
that first term. All are shown here in A066099 order.
Alternating sum
Sum_i (-1)^{i+1) b(i)
0,1,2,0,3,1,-1,1,4,2,0,2,-2,0,2,0
Binomial sum
Sum_i C(k-1,i-1) b(i)
0,1,2,2,3,3,3,4,4,4,4,5,4,6,5,8
Inverse binomial sum
Sum_i (-1)^{i+1) C(k-1,i-1) b(i)
0,1,2,0,3,1,-1,0,4,2,0,1,-2,-2,1,0
Weighted sum
sum_i i b(i)
0,1,2,3,3,4,5,6,4,5,6,7,7,8,9,10
This is A029931
Zero-based weighted sum
sum_i (i-1) b(i)
0,0,0,1,0,1,2,3,0,1,2,3,3,4,5,6
Sum of products of consecutive elements
sum_{i=1}^{k-1} b(i) b(i+1)
0,0,0,1,0,2,2,2,0,3,4,3,3,4,3,3
Number of rises
sum_{b(i)>b(i-1)} 1
0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,0
Number of falls
sum_{b(i)=b(i-1)} 1
0,0,0,1,0,1,0,2,0,1,1,2,0,1,1,3
Number of monotonically increasing runs
1 + number of falls, but 0 for empty sequence
0,1,1,1,1,2,1,1,1,2,1,2,1,2,1,1
Number of monotonically decreasing runs
1 + number of rises, but 0 for empty sequence
0,1,1,1,1,1,2,1,1,1,1,1,2,2,2,1
Number of runs of equal terms
1 + number of unchanged, but 0 for empty sequence
0,1,1,2,1,1,1,3,1,1,2,2,1,1,2,4
Number of distinct non-empty subsequences
0,1,1,2,1,3,3,3,1,3,2,5,3,5,5,4
E.g., f(1,1) = 2, for the sequences [1], and [1,1].
Number of distinct subsequences
1 + number of distinct non-empty subsequences
1,2,2,3,2,4,4,4,2,4,3,6,4,6,6,5
Number of set partitions
List parts of set partition by their smallest element, and count the
part sizes.
E.g., 1|2,4|3 (also known as {1,2,3,2}) would count for the sequence
[1,2,1].
1,1,1,1,1,2,1,1,1,3,3,3,1,2,1,1
Number of permutations
List permutations in cycle form, sorted by the smallest element in the
cycle,
and count the cycle lengths.
Number of set partitions * Product_i (b(i)-1)!
1,1,1,1,2,2,1,1,6,6,3,3,2,2,1,1
Number of partially ordered sets (unlabelled) by rank
The rank of an element in a poset is the length of the longest chain of
which it
is the largest element.
1,1,1,1,1,2,1,1,1,3,4,3,1,2,1,1
Number of partially ordered sets (labelled) by rank
1,1,1,2,1,9,3,6,1,28,54,60,4,36,12,24
Number of partially ordered sets (naturally labelled) by rank
Naturally labelled means labels are consistent with the ordering.
1,1,1,1,1,4,1,1,1,11,13,8,1,4,1,1
Number of forests (unlabelled, unordered) with b(i) nodes at height i.
1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,2,1,2,2,1,1,1,1,2,1,1,1,1,1
... and, of course, various other forest options.
If there is agreement that this is the right order for these sequences,
I'll try
to find time to submit them.
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and
industry-leading spam and email virus protection.
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and
industry-leading spam and email virus protection.
From maxale at gmail.com Sat Nov 4 03:09:57 2006
From: maxale at gmail.com (Max A.)
Date: Fri, 3 Nov 2006 18:09:57 -0800
Subject: querying multidimensional sequences in OEIS
In-Reply-To: <200611032139.kA3LdZSV024106@smtp.well.com>
References:
<8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com>
<200611031625.kA3GP1mt017249@smtp.well.com>
<200611032139.kA3LdZSV024106@smtp.well.com>
Message-ID:
On 11/3/06, Marc LeBrun wrote:
> B. Encode each tuple as a single number, say by using it as factor
> exponents: T(i) --> 2^T(i,1) * 3^T(i,2) * 5^T(i,3) *...
The sequences I've mentioned encoded this way:
I) Multinomial coefficients:
a( [k1, k2, ..., kn] ) = (k1 + k2 + ... + kn)! / (k1! * k2! * ... * kn!)
1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 3, 1, 2, 2, 1, 1, 3, 1, 3, 2, 2, 1,
4, 1, 2, 1, 3, 1, 6, 1, 1, 2, 2, 2, 6, 1, 2, 2, 4, 1, 6, 1, 3, 3, 2,
1, 5, 1, 3, 2, 3, 1, 4, 2, 4, 2, 2, 1, 12, 1, 2, 3, 1, 2, 6, 1, 3, 2,
6, 1, 10, 1, 2, 3, 3, 2, 6, 1, 5, 1, 2, 1, 12, 2, 2, 2, 4, 1, 12, 2,
3, 2, 2, 2, 6, 1, 3, 3, 6
II) Coefficients of incomplete Bell polynomials:
b( [k1, k2, ..., kn] ) = (k1 + 2*k2 + ... + n*kn)! / (k1! * k2! * ...
* kn!) / (1!^k1 * 2!^k2 * ... * n!^kn)
1, 1, 1, 1, 1, 3, 1, 1, 3, 4, 1, 6, 1, 5, 10, 1, 1, 15, 1, 10, 15, 6,
1, 10, 10, 7, 15, 15, 1, 60, 1, 1, 21, 8, 35, 45, 1, 9, 28, 20, 1,
105, 1, 21, 105, 10, 1, 15, 35, 70, 36, 28, 1, 105, 56, 35, 45, 11, 1,
210, 1, 12, 210, 1, 84, 168, 1, 36, 55, 280, 1, 105, 1, 13, 280, 45,
126, 252, 1, 35, 105, 14, 1, 420, 120, 15, 66, 56, 1, 840, 210, 55,
78, 16, 165, 21, 1, 315, 378, 280
III) The number of permutations with given cycle structure:
c( [k1, k2, ..., kn] ) = (k1 + 2*k2 + ... + n*kn)! / (k1! * k2! * ...
* kn!) / (1^k1 * 2^k2 * ... * n^kn)
1, 1, 1, 1, 2, 3, 6, 1, 3, 8, 24, 6, 120, 30, 20, 1, 720, 15, 5040,
20, 90, 144, 40320, 10, 40, 840, 15, 90, 362880, 120, 3628800, 1, 504,
5760, 420, 45, 39916800, 45360, 3360, 40, 479001600, 630, 6227020800,
504, 210, 403200, 87178291200, 15, 1260, 280, 25920, 3360,
1307674368000, 105, 2688, 210, 226800, 3991680, 20922789888000, 420,
355687428096000, 43545600, 1260, 1, 20160, 4032, 6402373705728000,
25920, 2217600, 3360, 121645100408832000, 105, 2432902008176640000,
518918400, 1120, 226800, 18144, 30240, 51090942171709440000, 70, 105,
6706022400, 1124000727777607680000, 2520, 172800, 93405312000,
23950080, 1344, 25852016738884976640000, 1680, 151200, 2217600,
283046400, 1394852659200, 1663200, 21, 620448401733239439360000,
11340, 9072, 1120
Max
From jawbrey at att.net Sat Nov 4 03:26:36 2006
From: jawbrey at att.net (Jon Awbrey)
Date: Fri, 03 Nov 2006 21:26:36 -0500
Subject: querying multidimensional sequences in OEIS
References: <8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com> <8C8CDAB62830D6B-12C-D5A@WEBMAIL-MA20.sysops.aol.com> <5542af940611031436w1d4a8081wc840fb7a2a02d41b@mail.gmail.com> <5542af940611031559x7a45e57euad1d783fb83d82b@mail.gmail.com> <8C8CDCAA57554FD-ED8-5165@FWM-M11.sysops.aol.com>
Message-ID: <454BFA5C.ACD4F79B@att.net>
o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o
but every positive integer in N = {1, 2, 3, ...}
uniquely codes a finite partial function f : N -> N
http://stderr.org/pipermail/inquiry/2005-July/002846.html
ja
franktaw at netscape.net wrote:
>
> This is OK, but it is the opposite of what we started out talking
> about. This is a function from integers to sequences; but we are
> talking about functions from sequences to integers. And not every
> integer encodes a sequence in this way; only those in A055932.
>
> Franklin T. Adams-Watters
o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o
inquiry e-lab: http://stderr.org/pipermail/inquiry/
citizendium development forums: http://smf.citizendium.org
http://www.textop.org/wiki/index.php?title=User:Jon_Awbrey
wikinfo: http://wikinfo.org/wiki.php?title=User:Jon_Awbrey
wp review: http://wikipediareview.com/index.php?showuser=398
o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o
From jvospost3 at gmail.com Sat Nov 4 03:49:46 2006
From: jvospost3 at gmail.com (Jonathan Post)
Date: Fri, 3 Nov 2006 18:49:46 -0800
Subject: A124015 thoughts
In-Reply-To: <000601c6ffa9$cfe95890$6401a8c0@yourxhtr8hvc4p>
References: <000601c6ffa9$cfe95890$6401a8c0@yourxhtr8hvc4p>
Message-ID: <5542af940611031849k32eb1687oc17e423c11cb03a9@mail.gmail.com>
I mostly agree. A large sample of text as actually used in a language, such
as a set of books, newspaper articles, transcripts of phone conversations,
or the like, is often called a "corpus" by those who undertake statistical
analyses. Various government agencies have done so since well before World
War II, tapping the minds of as many of half the Mathematicians in the
world, with computational resources in advance of corporate and personal
users, and with the help of Mathematicians such as Turing.
There are statistical analyses of various editions of the Bible, of the
works of Shakespeare, and the like, with phalanxes of statistical analysts
on Literature.
Many of these are covered in specialized journals, of questionable value to
seqfans, and unnoticed here except when, for instance, a minor poem is
claimed by such methods to be by Shakespeare.
Hence I second the motion by David Wilson to start with an extremely
well-defined if artificial corpus, such as "In various languages, what is
the distribution of the number of letters in the names of numbers from one
to (say) one million?"
I have commented more extensively on Scrabble in other venues. Do not ever
agree to use the OED (Oxford English Dictionary) as the official dictionary
when playing Scrabble. Many misspellings by Tournament rumes are there.
Even though the OED is the definitive dictionary of the largest language on
Earth, and fascinating reading for various purposes, it is just too big and
too weird for game use. Also, it makes it hard to distinguish a bluff from
a variant.
Now that I think of it, logarithmic trends can be interesting. How about "what
is the distribution of the number of letters in the names of numbers from
one to one billion?"
-- Jonathan Vos Post
On 11/3/06, David Wilson wrote:
>
> The description of A124015 is
>
> %N A124015 Number of words with n letters in the National Scrabble
> Association Dictionary.
>
> Some notes:
>
> - It should be noted that the NSAD includes a restricted set of English
> words (words of 2 to 14 letters, no proper nouns or derivatives, no words
> with non-alphabetic characters (e.g, contractions, hyphenated words), and
> it is this restricted set that is being counted.
>
> - The edition of the NSAD used to create A124015 should be specified,
> since the NSAD is continually edited. While I do not think that A124015
> should change with each new edition of the NSAD, because it may be
> referenced in other literature. On the other hand, I don't think that a new
> sequence should be created for each new edition of the NSAD unless the new
> edition exhibits some interesting statistical departure from the current
> NSAD (e.g, in some future NSAD, the number of 9-letter words exceeds the
> number of 8-letter words). This is because I believe that the value of
> A124015 is mainly to indicate a distribution of English word lengths.
>
> - On the other hand, I have always understood that 4-letter words are most
> common in literature (where small words appear more often). It might be
> interesting to create a sequence counting words of length n in the King
> James Bible, War and Peace, or some other suitably large and stable piece of
> English literature (we don't have to go overboard on this, just one or two
> examples indicating word length distributions in literature).
>
> - Another interesting idea: In various languages, what is the distribution
> of the number of letters in the names of numbers from one to (say) one
> million?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From davidwwilson at comcast.net Sat Nov 4 17:58:32 2006
From: davidwwilson at comcast.net (David Wilson)
Date: Sat, 4 Nov 2006 11:58:32 -0500
Subject: A065577 Number of Goldbach partitions of 10^n? More terms?
References: <20061103030956.55909.qmail@web38210.mail.mud.yahoo.com>
Message-ID: <001701c70032$75ba7ff0$6401a8c0@yourxhtr8hvc4p>
----- Original Message -----
From: "zak seidov"
To:
Sent: Thursday, November 02, 2006 10:09 PM
Subject: Re: A065577 Number of Goldbach partitions of 10^n? More terms?
> David, Dick, Bob, Ivars,
> seqfans.
>
> After recalculating (at two different PC's)
> and rechecking I could finally
> find source of my error
> (silly as usual) in one of codes,
> and my final value is
> a(10) = 18200488 (NOT 18200487!)
> which coincides now with the Dick-David value.
>
> So, Bob,
> you may wish to give in A065577 the correct value
> a(10) = 18200488 with due refer to David Wilson and
> Richard Mathar (not me).
I don't remember if Richard Mathar or myself was first to find a(10) =
18200488. It's not really important to me, since any value would be suspect
until independently confirmed. The fact that your suspect value led you to a
bug in your program simply serves as additional confirmation. I have no
problem with all three of us getting attribution. But then, I have no
problem with none of us getting attribution, as this computation strikes me
as on the level of an undergraduate homework problem.
> Also Ivars can extend his table.
> Thanks, Zak
>
> BTW1 Still, is it possible to find a(11)... with C++?
Well, it is possible to find a(11) using a C++ sieving program on an aging
PC in a few hours, and if you were to do so, you would find that a(11) =
149091160. Methinks that finding a(12) using the same program on the same PC
would take about a week, except that said PC is a shared resource.
> BIW2 Not all people even in this closed list
> may be interested in Mmca specific problems,
> so I''l be happy to have a list of you
> particularly Mmca-involved.
> Then we may circulate relevant messages
> not to all seqfan community.
> Please anyone interested write me personally
> with subject "Me in Mmca", thanks.
> Of course it's not intented to be closed list!
> Hope this is not against Gerard' policy.
I truly wish I could afford Mma (or better yet, a math-enabled PDF editor).
If I'm on anybody's Christmas list...
From mathar at strw.leidenuniv.nl Sat Nov 4 18:20:07 2006
From: mathar at strw.leidenuniv.nl (Richard Mathar)
Date: Sat, 4 Nov 2006 18:20:07 +0100
Subject: primes in arithmetic progression
Message-ID: <200611041720.kA4HK70T027399@amer.strw.leidenuniv.nl>
Is there an OEIS table that shows the smallest prime p
of k (not necessarily consecutive) primes in arithmetic progression
with common difference d? The table would look similar to this one
below, and contain rather large primes where I am leaving blanks:
k=1 k=2 k=3 k=4 k=5 k=6
d
0 2 2 2 2 2 2
2 2 3 3
4 2 3 3
6 2 5 5 5 5
8 2 3 3
10 2 3 3
12 2 5 5 5 5
14 2 3 3
16 2 3
18 2 5 5 5
20 2 3
22 2 7
24 2 5 5 59
26 2 3
28 2 3 3
30 2 7 7 7 7 7
32 2 5
34 2 3 3
36 2 5 7 31
The row d=0 and the column k=1 are degenerate and filled with the
prime 2. All strides d are even. Example for row d=24 and column k=4:
The 4 numbers 59,59+24,59+2*24 and 59+3*24 are all primes.
http://www.research.att.com/~njas/sequences/Sindx_Pri.html#primes_AP
--Richard
From rsc at swtch.com Sat Nov 4 18:24:53 2006
From: rsc at swtch.com (Russ Cox)
Date: Sat, 4 Nov 2006 12:24:53 -0500
Subject: A065577 Number of Goldbach partitions of 10^n? More terms?
In-Reply-To: <001701c70032$75ba7ff0$6401a8c0@yourxhtr8hvc4p>
References: <20061103030956.55909.qmail@web38210.mail.mud.yahoo.com>
<001701c70032$75ba7ff0$6401a8c0@yourxhtr8hvc4p>
Message-ID:
I have confirmed the values so far
and also computed that a(12) = 1243722370.
Submitted (with a(11)) to OEIS via form.
Russ
From jvospost3 at gmail.com Sat Nov 4 19:33:14 2006
From: jvospost3 at gmail.com (Jonathan Post)
Date: Sat, 4 Nov 2006 10:33:14 -0800
Subject: primes in arithmetic progression
In-Reply-To: <200611041720.kA4HK70T027399@amer.strw.leidenuniv.nl>
References: <200611041720.kA4HK70T027399@amer.strw.leidenuniv.nl>
Message-ID: <5542af940611041033s7a722e9fjf6ad6643f988477d@mail.gmail.com>
The semiprime analogue of this is a table that shows the smallest semiprime
S
of k (not necessarily consecutive) primes in arithmetic progression
with common difference d (once a 0 appears, the row has ended nonzero
values):
d k+1 k=2 k=3 k=4 k=5 k=6 k=7 k=8
0 4 4 4 4 4 4 4 ...
1 4 9 33 0
2 4 4 91 213 1383 8129 3091 0
3 4 6 115
4 4 6 6 111
5 4 4 77
6 4 4
7 4 14 51
8 4 6 6 69
-- Fairly easy to extend, fairly easy to prove the first 0 in a row.
The same can be done for 3-almost primes, 4-almost primes, and so forth,
this making a 3-dimensional array.
On 11/4/06, Richard Mathar wrote:
>
>
> Is there an OEIS table that shows the smallest prime p
> of k (not necessarily consecutive) primes in arithmetic progression
> with common difference d? The table would look similar to this one
> below, and contain rather large primes where I am leaving blanks:
>
> k=1 k=2 k=3 k=4 k=5 k=6
> d
> 0 2 2 2 2 2 2
> 2 2 3 3
> 4 2 3 3
> 6 2 5 5 5 5
> 8 2 3 3
> 10 2 3 3
> 12 2 5 5 5 5
> 14 2 3 3
> 16 2 3
> 18 2 5 5 5
> 20 2 3
> 22 2 7
> 24 2 5 5 59
> 26 2 3
> 28 2 3 3
> 30 2 7 7 7 7 7
> 32 2 5
> 34 2 3 3
> 36 2 5 7 31
>
> The row d=0 and the column k=1 are degenerate and filled with the
> prime 2. All strides d are even. Example for row d=24 and column k=4:
> The 4 numbers 59,59+24,59+2*24 and 59+3*24 are all primes.
>
> http://www.research.att.com/~njas/sequences/Sindx_Pri.html#primes_AP
>
> --Richard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From jvospost3 at gmail.com Sat Nov 4 19:37:19 2006
From: jvospost3 at gmail.com (Jonathan Post)
Date: Sat, 4 Nov 2006 10:37:19 -0800
Subject: primes in arithmetic progression
In-Reply-To: <5542af940611041033s7a722e9fjf6ad6643f988477d@mail.gmail.com>
References: <200611041720.kA4HK70T027399@amer.strw.leidenuniv.nl>
<5542af940611041033s7a722e9fjf6ad6643f988477d@mail.gmail.com>
Message-ID: <5542af940611041037s636536abnf98a7eee7feb349e@mail.gmail.com>
Sorry, I mean: "The semiprime analogue of this is a table that shows the
smallest semiprime S of k (not necessarily consecutive) SEMIprimes in
arithmetic progression
with common difference d."
On 11/4/06, Jonathan Post wrote:
>
> The semiprime analogue of this is a table that shows the smallest
> semiprime S
> of k (not necessarily consecutive) primes in arithmetic progression
> with common difference d (once a 0 appears, the row has ended nonzero
> values):
>
> d k+1 k=2 k=3 k=4 k=5 k=6 k=7 k=8
> 0 4 4 4 4 4 4 4 ...
> 1 4 9 33 0
> 2 4 4 91 213 1383 8129 3091 0
> 3 4 6 115
> 4 4 6 6 111
> 5 4 4 77
> 6 4 4
> 7 4 14 51
> 8 4 6 6 69
>
> -- Fairly easy to extend, fairly easy to prove the first 0 in a row.
>
> The same can be done for 3-almost primes, 4-almost primes, and so forth,
> this making a 3-dimensional array.
>
>
>
> On 11/4/06, Richard Mathar wrote:
> >
> >
> > Is there an OEIS table that shows the smallest prime p
> > of k (not necessarily consecutive) primes in arithmetic progression
> > with common difference d? The table would look similar to this one
> > below, and contain rather large primes where I am leaving blanks:
> >
> > k=1 k=2 k=3 k=4 k=5 k=6
> > d
> > 0 2 2 2 2 2 2
> > 2 2 3 3
> > 4 2 3 3
> > 6 2 5 5 5 5
> > 8 2 3 3
> > 10 2 3 3
> > 12 2 5 5 5 5
> > 14 2 3 3
> > 16 2 3
> > 18 2 5 5 5
> > 20 2 3
> > 22 2 7
> > 24 2 5 5 59
> > 26 2 3
> > 28 2 3 3
> > 30 2 7 7 7 7 7
> > 32 2 5
> > 34 2 3 3
> > 36 2 5 7 31
> >
> > The row d=0 and the column k=1 are degenerate and filled with the
> > prime 2. All strides d are even. Example for row d=24 and column k=4:
> > The 4 numbers 59,59+24,59+2*24 and 59+3*24 are all primes.
> >
> > http://www.research.att.com/~njas/sequences/Sindx_Pri.html#primes_AP
> >
> > --Richard
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From njas at research.att.com Sat Nov 4 20:10:10 2006
From: njas at research.att.com (N. J. A. Sloane)
Date: Sat, 4 Nov 2006 14:10:10 -0500 (EST)
Subject: primes in arithmetic progression
Message-ID: <200611041910.OAA62978@fry.research.att.com>
Just to get the ball rolling, I am adding this entry:
%I A124064
%S A124064 2,2,2,2,3,2,2,3,3,2,2,5,3
%N A124064 Array read by antidiagonals: T(d,k) (k >= 1, d = 2,4,6,8,...) = smallest prime p of k (not necessarily consecutive) primes in arithmetic progression with common difference d.
%C A124064 The row d=0 and the column k=1 are degenerate and are filled with the prime 2.
%O A124064 1,1
%K A124064 nonn,tabl,more
%e A124064 Array begins:
%e A124064 d.\...k=1.k=2..k=3..k=4..k=5..k=6
%e A124064 0..|..2...2....2....2....2....2
%e A124064 2..|..2...3....3
%e A124064 4..|..2...3....3
%e A124064 6..|..2...5....5....5....5
%e A124064 8..|..2...3....3
%e A124064 10.|..2...3....3
%e A124064 12.|..2...5....5....5....5
%e A124064 14.|..2...3....3.
%e A124064 16.|..2...3
%e A124064 18.|..2...5....5....5
%e A124064 20.|..2...3
%e A124064 22.|..2...7
%e A124064 24.|..2...5....5...59
%e A124064 26.|..2...3
%e A124064 28.|..2...3....3
%e A124064 30.|..2...7....7....7.....7....7
%e A124064 32.|..2...5
%e A124064 34.|..2...3....3
%e A124064 36.|..2...5....7...31
%e A124064 Example for row d=24 and column k=4: the 4 numbers 59,59+24,59+2*24 and 59+3*24 are all primes.
%A A124064 Richard Mathar (mathar(AT)strw.leidenuniv.nl), Nov 04 2006
NJAS
From davidwwilson at comcast.net Sat Nov 4 21:10:45 2006
From: davidwwilson at comcast.net (David Wilson)
Date: Sat, 4 Nov 2006 15:10:45 -0500
Subject: Observation on A053669
Message-ID: <000601c7004d$507dc510$6401a8c0@yourxhtr8hvc4p>
It seems to me that
%N A053669 Smallest prime co-prime to n.
could just as easily be described
%N A053669 Smallest number > 1 coprime to n.
and the fact that a(n) is prime falls out. This definition would also simplify the program.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From mathar at strw.leidenuniv.nl Sat Nov 4 21:45:17 2006
From: mathar at strw.leidenuniv.nl (Richard Mathar)
Date: Sat, 4 Nov 2006 21:45:17 +0100
Subject: Observation on A053669
Message-ID: <200611042045.kA4KjHeV011396@amer.strw.leidenuniv.nl>
dww> From seqfan-owner at ext.jussieu.fr Sat Nov 4 21:12:32 2006
dww> Return-Path:
dww> From: "David Wilson"
dww> To: "Sequence Fans"
dww> Subject: Observation on A053669
dww> ...
dww> It seems to me that
dww>
dww> %N A053669 Smallest prime co-prime to n.
dww>
dww> could just as easily be described
dww>
dww> %N A053669 Smallest number > 1 coprime to n.
dww>
dww> and the fact that a(n) is prime falls out. This definition would also =
dww> simplify the program.
dww>...
Yes. If the smallest prime co-prime to n would not be a prime,
it would be built by at least two prime factors, the smaller of which
would be the correct entry (proof by reductio ad absurdum).
It would still be useful to keep in a comment that the numbers are all prime
(this might speed up some searches for the numbers...)
I'd propose to list in a comment the first occurrences of the first primes:
first 5 at a(6)
first 7 is a(30)
first 11 is a(210)
first 13 is a(2310)
first 17 is a(30030)
first 19 is a(510510)
where the indices are 6=2*3, 30=2*3*5, 210=2*3*5*7, 2*3*5*7*11 etc,
(the primorials, I guess, as in A002110)
-- RJM
From jvospost3 at gmail.com Sat Nov 4 22:55:31 2006
From: jvospost3 at gmail.com (Jonathan Post)
Date: Sat, 4 Nov 2006 13:55:31 -0800
Subject: primes in arithmetic progression
In-Reply-To: <200611041910.OAA62978@fry.research.att.com>
References: <200611041910.OAA62978@fry.research.att.com>
Message-ID: <5542af940611041355vd65aa5cr3a4a9df3cc348c15@mail.gmail.com>
The analogue for 3-almost primes (or, as njas prefers, numbers which are the
product of exactly 3 primes) is left as an exercise for the reader... I've
just submitted the following.
Subject: PRE-NUMBERED NEW SEQUENCE A124570 FROM Jonathan Vos Post
%I A124570
%S A124570 4, 4, 4, 4, 9, 4, 4, 4, 33, 4, 4, 6, 91, 0, 4, 4, 6, 115,
213, 0, 4, 4, 4, 6, 0, 1383, 0, 4, 4, 4, 77, 111, 0, 8129, 0, 4, 4, 14
%N A124570 Array read by antidiagonals: T(d,k) (k >= 1, d =
1,2,3,4,5,6,...) = smallest semiprime s of k (not necessarily consecutive)
semiprimes in arithmetic progression with common difference d.
%C A124570 Semiprime analogue of A124064 Array read by antidiagonals:
T(d,k) (k >= 1, d = 2,4,6,8,...) = smallest prime p of k (not
necessarily consecutive) primes in arithmetic progression with common
difference d. The row d=0 and the column k=1 are degenerate and are filled with
the semiprime 4. Once a 0 occurs in a row, there are no more nonzero
vales in the row. For example, There cannot be 4 semiprimes in arithmetic
progression with common difference 3, starting with k, because modulo 4
we have {k, k+3, k+6, k+9} == {k+0, k+3, k+2, k+1} and one of these
must be divisible by 4, hence a nonsemiprime (eliminating k = 4 by
inspection).
%e A124570 Array begins:
d.\...k=1.k=2..k=3..k=4..k=5..k=6..k=7..k=8
0..|..4...4....4....4....4....4....4....4
1..|..4...9....33...0....0....0....0....0
2..|..4...4....91...213..1383.8129.3091.0
3..|..4...6....115..0....0....0....0....0
4..|..4...6....6....6....111...
5..|..4...4....77...
6..|..4...4....
7..|..4...14...51...
8..|..4...6....6....69.
Example for row 3: 115 = 5 * 23 is semiprime, 115+3 = 118 = 2 * 59 is
semiprime, and 115+3+3 = 121 = 11^2 is semiprime, so T(3,3) = 115.
%Y A124570 Cf. A000040, A001358, A056809, A070552, A092125, A092126,
A092127, A092128, A092129, A124064.
%O A124570 1,1
%K A124570 ,easy,more,nonn,tabl,
%A A124570 Jonathan Vos Post (jvospost2 at yahoo.com
),
Nov 04 2006
RH
RA 192.20.225.32
RU
RI
On 11/4/06, N. J. A. Sloane wrote:
>
> Just to get the ball rolling, I am adding this entry:
>
> %I A124064
> %S A124064 2,2,2,2,3,2,2,3,3,2,2,5,3
> %N A124064 Array read by antidiagonals: T(d,k) (k >= 1, d = 2,4,6,8,...) =
> smallest prime p of k (not necessarily consecutive) primes in arithmetic
> progression with common difference d.
> %C A124064 The row d=0 and the column k=1 are degenerate and are filled
> with the prime 2.
> %O A124064 1,1
> %K A124064 nonn,tabl,more
> %e A124064 Array begins:
> %e A124064 d.\...k=1.k=2..k=3..k=4..k=5..k=6
> %e A124064 0..|..2...2....2....2....2....2
> %e A124064 2..|..2...3....3
> %e A124064 4..|..2...3....3
> %e A124064 6..|..2...5....5....5....5
> %e A124064 8..|..2...3....3
> %e A124064 10.|..2...3....3
> %e A124064 12.|..2...5....5....5....5
> %e A124064 14.|..2...3....3.
> %e A124064 16.|..2...3
> %e A124064 18.|..2...5....5....5
> %e A124064 20.|..2...3
> %e A124064 22.|..2...7
> %e A124064 24.|..2...5....5...59
> %e A124064 26.|..2...3
> %e A124064 28.|..2...3....3
> %e A124064 30.|..2...7....7....7.....7....7
> %e A124064 32.|..2...5
> %e A124064 34.|..2...3....3
> %e A124064 36.|..2...5....7...31
> %e A124064 Example for row d=24 and column k=4: the 4 numbers
> 59,59+24,59+2*24 and 59+3*24 are all primes.
> %A A124064 Richard Mathar (mathar(AT)strw.leidenuniv.nl), Nov 04 2006
>
>
>
>
> NJAS
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From jrbibers at indiana.edu Sat Nov 4 23:17:45 2006
From: jrbibers at indiana.edu (Joseph Biberstine)
Date: Sat, 04 Nov 2006 17:17:45 -0500
Subject: A124015 thoughts
In-Reply-To: <5542af940611031849k32eb1687oc17e423c11cb03a9@mail.gmail.com>
References: <000601c6ffa9$cfe95890$6401a8c0@yourxhtr8hvc4p> <5542af940611031849k32eb1687oc17e423c11cb03a9@mail.gmail.com>
Message-ID: <454D1189.8090102@indiana.edu>
For anyone interested, this Mathematica function, eng[], will (as
usual, barring bugs) give the American English name for integers on 0 to
10^21-1. Extension of the upper bound should be plain to implement
(just one line of code -- observe the trend).
All printing is lowercase and without hyphens. In holding that "and"
should only ever be read for radix points, it is never printed here.
Note this implementation uses a text postprocessor and so is inherently
ugly. Also note that the helper memoizes for better or worse. Please,
of course, report all bugs.
Attached are some diagrams of the predictable distribution of
StringLength[eng[n]] (note this includes spaces). The third ranges up
to 10^9, sampling every 10^6.
Here is sample output from random naturals on 0,999999:
40573, forty thousand five hundred seventy three
108097, one hundred eight thousand ninety seven
539799, five hundred thirty nine thousand seven hundred ninety nine
136868, one hundred thirty six thousand eight hundred sixty eight
597841, five hundred ninety seven thousand eight hundred forty one
272460, two hundred seventy two thousand four hundred sixty
135550, one hundred thirty five thousand five hundred fifty
402424, four hundred two thousand four hundred twenty four
543617, five hundred forty three thousand six hundred seventeen
868945, eight hundred sixty eight thousand nine hundred forty five
951779, nine hundred fifty one thousand seven hundred seventy nine
742845, seven hundred forty two thousand eight hundred forty five
84140, eighty four thousand one hundred forty
680145, six hundred eighty thousand one hundred forty five
82734, eighty two thousand seven hundred thirty four
154758, one hundred fifty four thousand seven hundred fifty eight
961084, nine hundred sixty one thousand eighty four
360944, three hundred sixty thousand nine hundred forty four
574416, five hundred seventy four thousand four hundred sixteen
164099, one hundred sixty four thousand ninety nine
Here is the code:
Clear[eng, engRaw, n];
eng[n_] := (
pre = engRaw[n];
If[pre == "", pre = "zero"]; (* fixes "zero" *)
pre = FixedPoint[StringReplace[#, " " -> " "] &, pre] ; (* no
consecutive spaces *)
pre = FixedPoint[StringReplace[#, RegularExpression[" $"] :> ""] &,
pre] ; (* no trailing spaces *)
pre);
(* This raw function relies heavily on the postprocessor, which fixes
"zero" and deals with whitespace *)
engRaw[n_] := engRaw[n] = (* memo *)
Which[
n == 0, "",(* fixed in postprocessing *)
n == 1, "one",
n == 2, "two",
n == 3, "three",
n == 4, "four",
n == 5, "five",
n == 6, "six",
n == 7, "seven",
n == 8, "eight",
n == 9, "nine",
n == 10, "ten",
n == 11, "eleven",
n == 12, "twelve",
n == 13, "thirteen",
n == 14, "fourteen",
n == 15, "fifteen",
n == 16, "sixteen",
n == 17, "seventeen",
n == 18, "eighteen",
n == 19, "nineteen",
20 <= n <= 29, "twenty " <> engRaw[Mod[n, 10]],
30 <= n <= 39, "thirty " <> engRaw[Mod[n, 10]],
40 <= n <= 49, "forty " <> engRaw[Mod[n, 10]],
50 <= n <= 59, "fifty " <> engRaw[Mod[n, 10]],
60 <= n <= 69, "sixty " <> engRaw[Mod[n, 10]],
70 <= n <= 79, "seventy " <> engRaw[Mod[n, 10]],
80 <= n <= 89, "eighty " <> engRaw[Mod[n, 10]],
90 <= n <= 99, "ninety " <> engRaw[Mod[n, 10]],
10^2 <= n <= 10^3 - 1, engRaw[Quotient[n, 10^2]] <> " hundred " <>
engRaw[Mod[n, 10^2]],
10^3 <= n <= 10^6 - 1, engRaw[Quotient[n, 10^3]] <> " thousand " <>
engRaw[Mod[n, 10^3]],
10^6 <= n <= 10^9 - 1, engRaw[Quotient[n, 10^6]] <> " million " <>
engRaw[Mod[n, 10^6]],
10^9 <= n <= 10^12 - 1, engRaw[Quotient[n, 10^9]] <> " billion " <>
engRaw[Mod[n, 10^9]],
10^12 <= n <= 10^15 - 1, engRaw[Quotient[n, 10^12]] <> " trillion "
<> engRaw[Mod[n, 10^12]],
10^15 <= n <= 10^18 - 1, engRaw[Quotient[n, 10^15]] <> " quadrillion
" <> engRaw[Mod[n, 10^15]],
10^18 <= n <= 10^21 - 1, engRaw[Quotient[n, 10^18]] <> " quintillion
" <> engRaw[Mod[n, 10^18]],
True, Return["Naturals beyond 10^21-1 are not supported"];];
-JRB
Jonathan Post wrote:
> Now that I think of it, logarithmic trends can be interesting. How
> about "what is the distribution of the number of letters in the names of
> numbers from one to one billion?"
>
> -- Jonathan Vos Post
>
> On 11/3/06, *David Wilson* > wrote:
>
> The description of A124015 is
>
> %N A124015 Number of words with n letters in the National Scrabble
> Association Dictionary.
>
> Some notes:
>
> - It should be noted that the NSAD includes a restricted set of
> English words (words of 2 to 14 letters, no proper nouns or
> derivatives, no words with non-alphabetic characters (e.g,
> contractions, hyphenated words), and it is this restricted set that
> is being counted.
>
> - The edition of the NSAD used to create A124015 should be
> specified, since the NSAD is continually edited. While I do not
> think that A124015 should change with each new edition of the NSAD,
> because it may be referenced in other literature. On the other hand,
> I don't think that a new sequence should be created for each new
> edition of the NSAD unless the new edition exhibits some interesting
> statistical departure from the current NSAD (e.g, in some future
> NSAD, the number of 9-letter words exceeds the number of 8-letter
> words). This is because I believe that the value of A124015 is
> mainly to indicate a distribution of English word lengths.
>
> - On the other hand, I have always understood that 4-letter words
> are most common in literature (where small words appear more often).
> It might be interesting to create a sequence counting words of
> length n in the King James Bible, War and Peace, or some other
> suitably large and stable piece of English literature (we don't have
> to go overboard on this, just one or two examples indicating word
> length distributions in literature).
>
> - Another interesting idea: In various languages, what is the
> distribution of the number of letters in the names of numbers from
> one to (say) one million?
>
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EnglishNameDiagrams.PNG
Type: image/png
Size: 28453 bytes
Desc: not available
URL:
From jvospost3 at gmail.com Sun Nov 5 02:05:28 2006
From: jvospost3 at gmail.com (Jonathan Post)
Date: Sat, 4 Nov 2006 17:05:28 -0800
Subject: A124015 thoughts
In-Reply-To: <454D1189.8090102@indiana.edu>
References: <000601c6ffa9$cfe95890$6401a8c0@yourxhtr8hvc4p>
<5542af940611031849k32eb1687oc17e423c11cb03a9@mail.gmail.com>
<454D1189.8090102@indiana.edu>
Message-ID: <5542af940611041705u66643b27u66c836a95a2b9a1@mail.gmail.com>
Nice code. And what fascinating graphs! They have both periodicities and a
fractal appearance. Somehwere in there is the equivalent of Benford's Law,
and Zipf's Law, on lengths names of numbers (as opposed to digit
distribution and power law).
On 11/4/06, Joseph Biberstine wrote:
>
> For anyone interested, this Mathematica function, eng[], will (as
> usual, barring bugs) give the American English name for integers on 0 to
> 10^21-1. Extension of the upper bound should be plain to implement
> (just one line of code -- observe the trend).
>
> All printing is lowercase and without hyphens. In holding that
> "and"
> should only ever be read for radix points, it is never printed here.
> Note this implementation uses a text postprocessor and so is inherently
> ugly. Also note that the helper memoizes for better or worse. Please,
> of course, report all bugs.
>
> Attached are some diagrams of the predictable distribution of
> StringLength[eng[n]] (note this includes spaces). The third ranges up
> to 10^9, sampling every 10^6.
>
> Here is sample output from random naturals on 0,999999:
>
> 40573, forty thousand five hundred seventy three
> 108097, one hundred eight thousand ninety seven
> 539799, five hundred thirty nine thousand seven hundred ninety nine
> 136868, one hundred thirty six thousand eight hundred sixty eight
> 597841, five hundred ninety seven thousand eight hundred forty one
> 272460, two hundred seventy two thousand four hundred sixty
> 135550, one hundred thirty five thousand five hundred fifty
> 402424, four hundred two thousand four hundred twenty four
> 543617, five hundred forty three thousand six hundred seventeen
> 868945, eight hundred sixty eight thousand nine hundred forty five
> 951779, nine hundred fifty one thousand seven hundred seventy nine
> 742845, seven hundred forty two thousand eight hundred forty five
> 84140, eighty four thousand one hundred forty
> 680145, six hundred eighty thousand one hundred forty five
> 82734, eighty two thousand seven hundred thirty four
> 154758, one hundred fifty four thousand seven hundred fifty eight
> 961084, nine hundred sixty one thousand eighty four
> 360944, three hundred sixty thousand nine hundred forty four
> 574416, five hundred seventy four thousand four hundred sixteen
> 164099, one hundred sixty four thousand ninety nine
>
> Here is the code:
>
> Clear[eng, engRaw, n];
> eng[n_] := (
> pre = engRaw[n];
> If[pre == "", pre = "zero"]; (* fixes "zero" *)
> pre = FixedPoint[StringReplace[#, " " -> " "] &, pre] ; (* no
> consecutive spaces *)
> pre = FixedPoint[StringReplace[#, RegularExpression[" $"] :> ""] &,
> pre] ; (* no trailing spaces *)
> pre);
> (* This raw function relies heavily on the postprocessor, which fixes
> "zero" and deals with whitespace *)
> engRaw[n_] := engRaw[n] = (* memo *)
> Which[
> n == 0, "",(* fixed in postprocessing *)
> n == 1, "one",
> n == 2, "two",
> n == 3, "three",
> n == 4, "four",
> n == 5, "five",
> n == 6, "six",
> n == 7, "seven",
> n == 8, "eight",
> n == 9, "nine",
> n == 10, "ten",
> n == 11, "eleven",
> n == 12, "twelve",
> n == 13, "thirteen",
> n == 14, "fourteen",
> n == 15, "fifteen",
> n == 16, "sixteen",
> n == 17, "seventeen",
> n == 18, "eighteen",
> n == 19, "nineteen",
> 20 <= n <= 29, "twenty " <> engRaw[Mod[n, 10]],
> 30 <= n <= 39, "thirty " <> engRaw[Mod[n, 10]],
> 40 <= n <= 49, "forty " <> engRaw[Mod[n, 10]],
> 50 <= n <= 59, "fifty " <> engRaw[Mod[n, 10]],
> 60 <= n <= 69, "sixty " <> engRaw[Mod[n, 10]],
> 70 <= n <= 79, "seventy " <> engRaw[Mod[n, 10]],
> 80 <= n <= 89, "eighty " <> engRaw[Mod[n, 10]],
> 90 <= n <= 99, "ninety " <> engRaw[Mod[n, 10]],
> 10^2 <= n <= 10^3 - 1, engRaw[Quotient[n, 10^2]] <> " hundred " <>
> engRaw[Mod[n, 10^2]],
> 10^3 <= n <= 10^6 - 1, engRaw[Quotient[n, 10^3]] <> " thousand " <>
> engRaw[Mod[n, 10^3]],
> 10^6 <= n <= 10^9 - 1, engRaw[Quotient[n, 10^6]] <> " million " <>
> engRaw[Mod[n, 10^6]],
> 10^9 <= n <= 10^12 - 1, engRaw[Quotient[n, 10^9]] <> " billion " <>
> engRaw[Mod[n, 10^9]],
> 10^12 <= n <= 10^15 - 1, engRaw[Quotient[n, 10^12]] <> " trillion "
> <> engRaw[Mod[n, 10^12]],
> 10^15 <= n <= 10^18 - 1, engRaw[Quotient[n, 10^15]] <> " quadrillion
> " <> engRaw[Mod[n, 10^15]],
> 10^18 <= n <= 10^21 - 1, engRaw[Quotient[n, 10^18]] <> " quintillion
> " <> engRaw[Mod[n, 10^18]],
> True, Return["Naturals beyond 10^21-1 are not supported"];];
>
> -JRB
>
> Jonathan Post wrote:
> > Now that I think of it, logarithmic trends can be interesting. How
> > about "what is the distribution of the number of letters in the names of
> > numbers from one to one billion?"
> >
> > -- Jonathan Vos Post
> >
> > On 11/3/06, *David Wilson* > > wrote:
> >
> > The description of A124015 is
> >
> > %N A124015 Number of words with n letters in the National Scrabble
> > Association Dictionary.
> >
> > Some notes:
> >
> > - It should be noted that the NSAD includes a restricted set of
> > English words (words of 2 to 14 letters, no proper nouns or
> > derivatives, no words with non-alphabetic characters (e.g,
> > contractions, hyphenated words), and it is this restricted set that
> > is being counted.
> >
> > - The edition of the NSAD used to create A124015 should be
> > specified, since the NSAD is continually edited. While I do not
> > think that A124015 should change with each new edition of the NSAD,
> > because it may be referenced in other literature. On the other hand,
> > I don't think that a new sequence should be created for each new
> > edition of the NSAD unless the new edition exhibits some interesting
> > statistical departure from the current NSAD (e.g, in some future
> > NSAD, the number of 9-letter words exceeds the number of 8-letter
> > words). This is because I believe that the value of A124015 is
> > mainly to indicate a distribution of English word lengths.
> >
> > - On the other hand, I have always understood that 4-letter words
> > are most common in literature (where small words appear more often).
> > It might be interesting to create a sequence counting words of
> > length n in the King James Bible, War and Peace, or some other
> > suitably large and stable piece of English literature (we don't have
> > to go overboard on this, just one or two examples indicating word
> > length distributions in literature).
> >
> > - Another interesting idea: In various languages, what is the
> > distribution of the number of letters in the names of numbers from
> > one to (say) one million?
> >
> >
> >
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From pxp at rogers.com Sun Nov 5 02:29:38 2006
From: pxp at rogers.com (Hans Havermann)
Date: Sat, 4 Nov 2006 20:29:38 -0500
Subject: A124015 thoughts
In-Reply-To: <454D1189.8090102@indiana.edu>
References: <000601c6ffa9$cfe95890$6401a8c0@yourxhtr8hvc4p> <5542af940611031849k32eb1687oc17e423c11cb03a9@mail.gmail.com> <454D1189.8090102@indiana.edu>
Message-ID: <3E87B5F0-736C-466D-B4EC-C2D438AA1BA3@rogers.com>
Joseph Biberstine:
> For anyone interested, this Mathematica function, eng[], will (as
> usual, barring bugs) give the American English name for integers on
> 0 to 10^21-1. Extension of the upper bound should be plain to
> implement (just one line of code -- observe the trend).
I forget where I found the following bit of elegant code, but it
essentially does the same thing as yours (except use a hyphen instead
of a space between the tens and units for tens > 20):
Ones[n_, pad_:0] := If[Mod[pad, 10] > 0, "-", ""] <> {"", "one",
"two", "three", "four", "five", "six", "seven", "eight", "nine",
"ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen",
"sixteen", "seventeen", "eighteen", "nineteen"}[[n + 1]]
Tens[n_] := {"", "twenty", "thirty", "forty", "fifty", "sixty",
"seventy", "eighty", "ninety"}[[n]]
LastThree[n_] := LastThree[n] = Module[{h = Quotient[n, 100], m = Mod
[n, 100]}, If[n > 99, Ones[h, 0] <> " hundred ", ""] <> If[m < 20,
Ones[m], Tens[Quotient[m, 10]] <> Ones[Mod[m, 10], m]]]
Powers[n_] := Powers[n] = {"", " thousand", " million", " billion", "
trillion", " quadrillion", " quintillion", " sextillion", "
septillion", " octillion", "nonillion", " decillion", " undecillion",
" duodecillion", " tredecillion", " quattuordecillion", "
quindecillion", " sexdecillion", " septendecillion", "
octodecillion", " novemdecillion", " vigintillion"}[[n]]
(*NumberName[0] := "zero"*)
NumberName[n_Integer] := Module[{db = Reverse[MapIndexed[If[#1 == 0,
"", LastThree[#1] <> Powers[#2[[1]]] <> " "] &, FromDigits[#, 10] & /
@ Reverse /@ Partition[Reverse[IntegerDigits[n, 10]], 3, 3, {1, 1},
{}]]]}, StringDrop[StringJoin @@ db, -1]]
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From zbi74583 at boat.zero.ad.jp Sun Nov 5 04:58:03 2006
From: zbi74583 at boat.zero.ad.jp (koh)
Date: Sun, 05 Nov 2006 12:58:03 +0900
Subject: terms lack
Message-ID: <20061105035802.zbi74583@boat.zero.ad.jp>
Recently I updated more terms of A054572, which are calculated by Richard Mathar.
And Neil claimed or got angry.
He said, "You are red card. Don't submit a wrong sequences"
I am exaggerating a little.
These words are not exactly what he wrote.
To Neil
They are correct, not "wrong".
It is only not complete.
In early time, I didn't do a computer search, so there is a possibility that my old submitted sequences are not complete.
Now, I calculate both theoretically and with a computer.
To Seqfans
I defined many "divisor" functions and calculated many Amicable Numbers and Perfect Numbers using those functions.
And I submitted them as sequences to OEIS.
http://www.research.att.com/~njas/sequences/?q=kohmoto+amicable&sort=0&fmt=0&language=english&go=Search
http://www.research.att.com/~njas/sequences/?q=kohmoto+perfect&sort=0&fmt=0&language=english&go=Search
I suppose that they are almost complete but some of them might not be complete.
I wish some one do a computer search about them.
I think that A054572 is the worst case, because I gave only two terms up to 10^4.
But sometimes my theory gives a complete set of examples.
See A099105 , I was sure that these three terms are all, and a computer search also said it is right.
Yasutoshi
From deutsch at duke.poly.edu Sun Nov 5 05:30:30 2006
From: deutsch at duke.poly.edu (Emeric Deutsch)
Date: Sat, 4 Nov 2006 23:30:30 -0500 (EST)
Subject: No subject
Message-ID:
Dear Seqfans,
We (Lou Shapiro and myself) would like to submit a few
sequences similar to A124497 (shown at the bottom of this
message). They will refer to 1-2-3-4 trees, 1-2-3-4-5
trees, etc. rather than to 1-2-3 trees. We can describe
the corresponding g.f.'s but we need help in finding the
terms themselves.
Here is the description of all the g.f.'s. Let M[k](z) be
the g.f. of the 1-2-...-k trees with thinning limbs. I will
describe these functions; consequently, we may disregard
the objects counted by them.
Denote by C[k](z) the g.f. of the k-ary trees. C[k]
satisfies C[k]=1+zC[k]^k and the coefficient of z^n
in its series expansion is
(*) binom(kn,n)/[(k-1)n+1].
I will write Mk for M[k] and Ck for C[k].
Obviously, M1(z)=1/(1-z) (path-trees). The next one is
M2(z)=M1(z)C2(z^2*M1), i.e. M1 times C2 evaluated at
z^2*M1. This gives no problem since
C2(z)=[1-sqrt(1-4z)]/(2z). We obtain A090344.
Next M3(z)=M2(z)C3(z^3*M2^2); since there is an
explicit expression for C3(z), namely
C3(z)=2/sqrt(3z)*sin[(1/3)*arcsin(sqrt(27z/4))],
this yields easily A124497.
From here on we need help.
M4(z)=M3(z)C4(z^4*M3^3);
Most probably sequence starts with
1,1,2,4,10,24,62,160,425,1140,3105 (I used some terms
of the series of C4(z); see (*)).
M5(z)=M4(z)C5(z^5*M4^4);
Most probably sequence starts with
1,1,2,4,10,25,67,180,495,1375,3871 (I used some terms
of the series of C5(z); see (*)).
And so on.
These sequences approach A124344:
1,1,2,4,10,25,68,187,530,1523,4447,13121,39107,...
Many thanks.
Emeric
--------------------------------
A124497 Number of 1-2-3 trees with n edges and with thinning limbs. A
1-2-3 tree is an ordered tree with vertices of outdegree at most 3. A
rooted tree with thinning limbs is such that if a node has k children, all
its children have at most k children.
1, 1, 2, 4, 9, 20, 48, 116, 288, 724, 1849, 4768, 12423, 32628, 86342,
229952, 616042, 1659012, 4489101, 12199521, 33284546, 91140797, 250396629,
690043032, 1907022197, 5284167884, 14677681554, 40862469713, 114001697975
(list; graph; listen)
OFFSET 0,3
FORMULA G.f.=H*T(H^2*z^3), where
T=2/sqrt(3*x)*sin((1/3)*arcsin(sqrt(27*x/4))) (solution of T=1+zT^3,
T(0)=1), H=C(z^2/(1-z))/(1-z), and C(x)=[1-sqrt(1-4x)]/(2x) is the Catalan
function. More generally, if M[k](z) is the g.f. of the 1-2-...-k trees
with thinning limbs and C[k](z)=1+z*{C[k](z)}^k is the g.f. of the k-ary
trees, then M[k](z)=M[k-1](z)C[k](M[k-1]^(k-1)*z^k).
MAPLE C:=x->(1-sqrt(1-4*x))/2/x:
T:=x->2/sqrt(3*x)*sin((1/3)*arcsin(sqrt(27*x/4))): M2:=C(z^2/(1-z))/(1-z):
G:=M2*T(M2^2*z^3): Gser:=series(G, z=0, 40): seq(coeff(Gser, z, n),
n=0..33);
CROSSREFS Cf. A090344, A124344.
KEYWORD nonn,new
AUTHOR Emeric Deutsch and Louis Shapiro (deutsch(AT)duke.poly.edu,
lshapiro(AT)Howard.edu), Nov 04 2006
From zakseidov at yahoo.com Sun Nov 5 07:28:49 2006
From: zakseidov at yahoo.com (zak seidov)
Date: Sat, 4 Nov 2006 22:28:49 -0800 (PST)
Subject: Observation on A053669
In-Reply-To: <200611042045.kA4KjHeV011396@amer.strw.leidenuniv.nl>
Message-ID: <20061105062849.51615.qmail@web38208.mail.mud.yahoo.com>
Yes,
and because a(n_odd)=2
keep only even n's.
Zak
--- Richard Mathar wrote:
>
> dww> From seqfan-owner at ext.jussieu.fr Sat Nov 4
> 21:12:32 2006
> dww> Return-Path:
> dww> From: "David Wilson"
> dww> To: "Sequence Fans"
> dww> Subject: Observation on A053669
> dww> ...
> dww> It seems to me that
> dww>
> dww> %N A053669 Smallest prime co-prime to n.
> dww>
> dww> could just as easily be described
> dww>
> dww> %N A053669 Smallest number > 1 coprime to n.
> dww>
> dww> and the fact that a(n) is prime falls out.
> This definition would also =
> dww> simplify the program.
> dww>...
>
> Yes. If the smallest prime co-prime to n would not
> be a prime,
> it would be built by at least two prime factors, the
> smaller of which
> would be the correct entry (proof by reductio ad
> absurdum).
>
> It would still be useful to keep in a comment that
> the numbers are all prime
> (this might speed up some searches for the
> numbers...)
>
> I'd propose to list in a comment the first
> occurrences of the first primes:
> first 5 at a(6)
> first 7 is a(30)
> first 11 is a(210)
> first 13 is a(2310)
> first 17 is a(30030)
> first 19 is a(510510)
> where the indices are 6=2*3, 30=2*3*5, 210=2*3*5*7,
> 2*3*5*7*11 etc,
> (the primorials, I guess, as in A002110)
>
> -- RJM
>
__________________________________________________________________________________________
Check out the New Yahoo! Mail - Fire up a more powerful email and get things done faster.
(http://advision.webevents.yahoo.com/mailbeta)
From davidwwilson at comcast.net Sun Nov 5 07:38:34 2006
From: davidwwilson at comcast.net (David Wilson)
Date: Sun, 5 Nov 2006 01:38:34 -0500
Subject: Notes on A124064 (was Re: primes in arithmetic progression)
References: <200611041910.OAA62978@fry.research.att.com>
Message-ID: <003101c700a5$05184930$6401a8c0@yourxhtr8hvc4p>
This is one of those cases where I think we have jumped the gun, creating a
sequence without first determining the best structure for that sequence.
Richard Mather proposed a table of T(d,k) = the smallest possible initial
element of a nondecreasing AP of k primes with difference d. Clearly, T(d,k)
is defined only for d >= 0 and k >= 1.
For d = 0, it is pretty easy to show T(0, k) = 2 for any k >= 1. For d >= 1,
however, T(d,k) is defined only for a finite number of k.
Proof: Suppose there exists AP P of primes with difference d >= 1 and 2d+2
elements. Let c = d+1. Because P is an arithmetic progression of 2c elements
with difference d, and c is coprime to d, P will have two elements divisible
by c, call them cx and cy. Whereas P is an increasing sequence of positive
integers, we can assume that 0 < cx < cy. Hence 0 < x < y, and y >= 2. But
this makes cy composite, contrary to fact that P is a sequence of primes.
Hence P does not exist, that is to say, any AP of primes with difference d
>= 1 has at most 2d+1 elements, and T(d,k) is undefined for k > 2d+1. QED.
In fact, assuming the k-tuple conjecture is true, we can give the precise
domain of T for d >= 1: If p is the smallest prime not dividing d, then
T(d,k) is defined precisely for 1 <= k <= p if the AP of p elements with
initial element p and difference d is a prime AP, and for 1 <= k <= p-1
otherwise.
This means that the table of T(d,k) looks as follows:
\k| 1 2 3 4 5 6 7 8 9 10
d\|
----+------------------------------
0 | 2 2 2 2 2 2 2 2 2 2 ...
1 | 2 2
2 | 2 3 3
3 | 2 2
4 | 2 3 3
5 | 2 2
6 | 2 5 5 5 5
7 | 2
8 | 2 3 3
9 | 2 2
10 | 2 3 3
11 | 2 2
12 | 2 5 5 5 5
13 | 2
14 | 2 3 3
15 | 2 2
16 | 2 3
17 | 2 2
18 | 2 5 5 5
19 | 2
20 | 2 3 3
...
Two important points:
- Sometimes in the OEIS, we are tempted to pare down sequences to remove
uninteresting values in order to emphasize the interesting values. In such
cases, I think that the OEIS should include a main sequence that is
complete, and additional pared-down sequences if they seem to augment our
understanding of the main sequence. In this case, Mather's sequence included
T(d,k) only for even d, presumably because T(d,k) is uninteresting for odd
d. My table above includes T(d,k) for both even and odd d. In fact, it turns
out that for odd d, T(d,1) = 2 and T(d,2) = 2 if 2+d is prime, not
scintillating behavior, but not trivial either. My feeling is that the main
sequence for T(d,k) (presumably A124064) should include all the values of
T(d,k), and if restricting T(d,k) to even d seems to augment our
understanding, a second pared-down sequence should be made referring back to
the complete main sequence.
- For d >= 1 and sufficient k, T(d,k) is undefined. The standard
diagonalization technique won't work for this irregular table. That is why
NJAS's proposed A124064 ends where it does, because the next value, T(2,4),
does not exist (it is not a matter of doing more computation, T(2,4) does
not exist because there is no AP of 4 primes with difference 2). I can see
two possible ways to address this problem, the (icky) option of making
T(d,k) = 0 if undefined, or the (less icky) option of requiring the APs in
question to be strictly increasing. This would dispense with the infinite d
= 0 line and leave us with a list of finite sequences which we could
concatenate to build A124064, vis:
2,2,2,3,3,2,2,2,3,3,2,2,2,5,5,5,5,2,2,3,3,2,2,2,3,3,2,2,2,5,5,5,5,2,2,
3,3,2,2,2,3,2,2,2,5,5,5,2,2,3,3,2,2,2,7,2,2,5,5,59,2,2,3,2,2,2,3,3,2,2,
2,7,7,7,7,7,2,2,5,2,2,3,3,2,2,2,5,7,31,2,2,3,3,2,2,2,3,3,2,2,2,5,5,5,5
We could put the line lengths in another sequence.
2,3,2,3,2,5,1,3,2,3,2,5,1,3,2,2,2,4,1,3,2,2,1,4,1,2,2,3,2,6,1,2,1,3,2,4,
1,3,2,3,2,5,1,2,2,2,1,5,1,3,2,2,1,4,1,2,2,2,2,6,1,2,1,3,2,4,1,3,2,2,2,4,
1,2,1,2,2,4,1,3,2,2,1,4,1,2,2,2,1,6,1,2,1,3,2,5,1,3,2,2,2,4,1,3,2,2,2,4
----- Original Message -----
From: "N. J. A. Sloane"
To: ; "Richard Mathar"
Sent: Saturday, November 04, 2006 2:10 PM
Subject: Re: primes in arithmetic progression
> Just to get the ball rolling, I am adding this entry:
>
> %I A124064
> %S A124064 2,2,2,2,3,2,2,3,3,2,2,5,3
> %N A124064 Array read by antidiagonals: T(d,k) (k >= 1, d = 2,4,6,8,...) =
> smallest prime p of k (not necessarily consecutive) primes in arithmetic
> progression with common difference d.
> %C A124064 The row d=0 and the column k=1 are degenerate and are filled
> with the prime 2.
> %O A124064 1,1
> %K A124064 nonn,tabl,more
> %e A124064 Array begins:
> %e A124064 d.\...k=1.k=2..k=3..k=4..k=5..k=6
> %e A124064 0..|..2...2....2....2....2....2
> %e A124064 2..|..2...3....3
> %e A124064 4..|..2...3....3
> %e A124064 6..|..2...5....5....5....5
> %e A124064 8..|..2...3....3
> %e A124064 10.|..2...3....3
> %e A124064 12.|..2...5....5....5....5
> %e A124064 14.|..2...3....3.
> %e A124064 16.|..2...3
> %e A124064 18.|..2...5....5....5
> %e A124064 20.|..2...3
> %e A124064 22.|..2...7
> %e A124064 24.|..2...5....5...59
> %e A124064 26.|..2...3
> %e A124064 28.|..2...3....3
> %e A124064 30.|..2...7....7....7.....7....7
> %e A124064 32.|..2...5
> %e A124064 34.|..2...3....3
> %e A124064 36.|..2...5....7...31
> %e A124064 Example for row d=24 and column k=4: the 4 numbers
> 59,59+24,59+2*24 and 59+3*24 are all primes.
> %A A124064 Richard Mathar (mathar(AT)strw.leidenuniv.nl), Nov 04 2006
>
>
>
>
> NJAS
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.430 / Virus Database: 268.13.27/517 - Release Date: 11/3/2006
> 4:30 PM
>
From davidwwilson at comcast.net Sun Nov 5 07:40:23 2006
From: davidwwilson at comcast.net (David Wilson)
Date: Sun, 5 Nov 2006 01:40:23 -0500
Subject: Observation on A053669
References: <200611042045.kA4KjHeV011396@amer.strw.leidenuniv.nl>
Message-ID: <003b01c700a5$45a9d3b0$6401a8c0@yourxhtr8hvc4p>
Another possible description of A053669:
Smallest prime non-divisor of n.
----- Original Message -----
From: "Richard Mathar"
To:
Sent: Saturday, November 04, 2006 3:45 PM
Subject: Re: Observation on A053669
>
> dww> From seqfan-owner at ext.jussieu.fr Sat Nov 4 21:12:32 2006
> dww> Return-Path:
> dww> From: "David Wilson"
> dww> To: "Sequence Fans"
> dww> Subject: Observation on A053669
> dww> ...
> dww> It seems to me that
> dww>
> dww> %N A053669 Smallest prime co-prime to n.
> dww>
> dww> could just as easily be described
> dww>
> dww> %N A053669 Smallest number > 1 coprime to n.
> dww>
> dww> and the fact that a(n) is prime falls out. This definition would
> also =
> dww> simplify the program.
> dww>...
>
> Yes. If the smallest prime co-prime to n would not be a prime,
> it would be built by at least two prime factors, the smaller of which
> would be the correct entry (proof by reductio ad absurdum).
>
> It would still be useful to keep in a comment that the numbers are all
> prime
> (this might speed up some searches for the numbers...)
>
> I'd propose to list in a comment the first occurrences of the first
> primes:
> first 5 at a(6)
> first 7 is a(30)
> first 11 is a(210)
> first 13 is a(2310)
> first 17 is a(30030)
> first 19 is a(510510)
> where the indices are 6=2*3, 30=2*3*5, 210=2*3*5*7, 2*3*5*7*11 etc,
> (the primorials, I guess, as in A002110)
>
> -- RJM
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.430 / Virus Database: 268.13.27/517 - Release Date: 11/3/2006
> 4:30 PM
>
>
From pauldhanna at juno.com Sun Nov 5 07:49:40 2006
From: pauldhanna at juno.com (Paul D. Hanna)
Date: Sun, 5 Nov 2006 01:49:40 -0500
Subject: A124497: 1-2-3-...-k Trees
Message-ID: <20061105.014940.1648.0.pauldhanna@juno.com>
Emeric (and Seqfans),
What a fascinating problem.
Although I will not be using this formula now,
let's extend your formula for k-ary trees:
(*) [z^n] C[k](z)^m = binomial(kn+m-1,n)*m/[(k-1)n+m]
to give the coefficient of z^n in the m-th power of C[k](z).
Note that the logarithm is obtained similarly:
(**) [z^n] log( C[k](z) ) = binomial(kn-1,n)/[(k-1)n], for n>0.
No doubt you are already aware of this lovely facts;
and they may simplify some series representations involved here.
I will not attempt to give a simpler g.f. for your M[n], where:
M[n+1](z) = M[n](z)*C[n](z^n*M[n-1]^(n-1));
but using PARI I will list the first 31 terms for n=2..10 (below).
You have some impressive results so far.
Paul
(PARI)
{M=1/(1-x+O(x^31));
for(n=2,10,
M=M*sum(k=0,30,binomial(n*k,k)/((n-1)*k+1)*(x^n*M^(n-1))^k);
print("n="n":");print(Vec(M))
)
}
n=2:
[1, 1, 2, 3, 6, 11, 23, 47, 102, 221, 493, 1105, 2516, 5763, 13328,
30995, 72556, 170655, 403351, 957135, 2279948, 5449013, 13063596,
31406517, 75701508, 182902337, 442885683, 1074604289, 2612341856,
6361782007, 15518343597]
n=3:
[1, 1, 2, 4, 9, 20, 48, 116, 288, 724, 1849, 4768, 12423, 32628,
86342, 229952, 616042, 1659012, 4489101, 12199521, 33284546,
91140797, 250396629, 690043032, 1907022197, 5284167884, 14677681554,
40862469713, 114001697975, 318681491431, 892495078849]
n=4:
[1, 1, 2, 4, 10, 24, 62, 160, 425, 1140, 3105, 8528, 23643, 66008,
185526, 524384, 1489810, 4251852, 12184745, 35048405, 101156752,
292865417, 850314803, 2475327088, 7223400899, 21126670372,
61920289652, 181838859665, 534980035009, 1576653291583,
4654122552827]
n=5:
[1, 1, 2, 4, 10, 25, 67, 180, 495, 1375, 3871, 10993, 31493, 90843,
263686, 769466, 2256135, 6643082, 19634705, 58232350, 173242381,
516860717, 1546035258, 4635543843, 13929569399, 41943013047,
126532961332, 382396277940, 1157548532794, 3509416800398,
10655157352027]
n=6:
[1, 1, 2, 4, 10, 25, 68, 186, 522, 1479, 4246, 12289, 35872, 105411,
311662, 926270, 2765778, 8292296, 24953437, 75338686, 228140842,
692733127, 2108652750, 6433255041, 19668210742, 60247367313,
184879648441, 568281131800, 1749490180723, 5393738767856,
16651705792875]
n=7:
[1, 1, 2, 4, 10, 25, 68, 187, 529, 1514, 4393, 12856, 37944, 112740,
337017, 1012671, 3056978, 9265765, 28187304, 86028764, 263339173,
808256040, 2486804090, 7668374150, 23694936466, 73354869098,
227489892754, 706643494680, 2198340096395, 6848600059320,
21363953916171]
n=8:
[1, 1, 2, 4, 10, 25, 68, 187, 530, 1522, 4437, 13056, 38766, 115908,
348733, 1054775, 3205251, 9780165, 29951916, 92029644, 283606809,
876333336, 2714448570, 8426790446, 26213887250, 81699432762,
255072076566, 797641572824, 2498068134817, 7834443329344,
24602515926899]
n=9:
[1, 1, 2, 4, 10, 25, 68, 187, 530, 1523, 4446, 13110, 39030, 117060,
353404, 1072811, 3272526, 10024884, 30825490, 95103360, 294300321,
913203240, 2840650881, 8856206258, 27667828196, 86601978030,
271545341505, 852829532176, 2682483667081, 8449321174753,
26648690288909]
n=10:
[1, 1, 2, 4, 10, 25, 68, 187, 530, 1523, 4447, 13120, 39095, 117400,
354974, 1079493, 3299426, 10128934, 31216245, 96538200, 299477771,
931628670, 2905496841, 9082358938, 28450647731, 89294760932,
280759352295, 884216374006, 2788990466531, 8809540396813,
27863492984436]
END.
----------------------------------------------------------
On Sat, 4 Nov 2006 23:30:30 -0500 (EST) Emeric Deutsch
writes:
> Dear Seqfans,
> We (Lou Shapiro and myself) would like to submit a few
> sequences similar to A124497 (shown at the bottom of this
> message). They will refer to 1-2-3-4 trees, 1-2-3-4-5
> trees, etc. rather than to 1-2-3 trees. We can describe
> the corresponding g.f.'s but we need help in finding the
> terms themselves.
>
> Here is the description of all the g.f.'s. Let M[k](z) be
> the g.f. of the 1-2-...-k trees with thinning limbs. I will
> describe these functions; consequently, we may disregard
> the objects counted by them.
>
> Denote by C[k](z) the g.f. of the k-ary trees. C[k]
> satisfies C[k]=1+zC[k]^k and the coefficient of z^n
> in its series expansion is
> (*) binom(kn,n)/[(k-1)n+1].
>
> I will write Mk for M[k] and Ck for C[k].
>
> Obviously, M1(z)=1/(1-z) (path-trees). The next one is
> M2(z)=M1(z)C2(z^2*M1), i.e. M1 times C2 evaluated at
> z^2*M1. This gives no problem since
> C2(z)=[1-sqrt(1-4z)]/(2z). We obtain A090344.
>
> Next M3(z)=M2(z)C3(z^3*M2^2); since there is an
> explicit expression for C3(z), namely
> C3(z)=2/sqrt(3z)*sin[(1/3)*arcsin(sqrt(27z/4))],
> this yields easily A124497.
>
> From here on we need help.
> M4(z)=M3(z)C4(z^4*M3^3);
> Most probably sequence starts with
> 1,1,2,4,10,24,62,160,425,1140,3105 (I used some terms
> of the series of C4(z); see (*)).
>
> M5(z)=M4(z)C5(z^5*M4^4);
> Most probably sequence starts with
> 1,1,2,4,10,25,67,180,495,1375,3871 (I used some terms
> of the series of C5(z); see (*)).
>
> And so on.
>
> These sequences approach A124344:
> 1,1,2,4,10,25,68,187,530,1523,4447,13121,39107,...
>
> Many thanks.
> Emeric
From pauldhanna at juno.com Sun Nov 5 08:04:15 2006
From: pauldhanna at juno.com (Paul D. Hanna)
Date: Sun, 5 Nov 2006 02:04:15 -0500
Subject: A124497: 1-2-3-...-k Trees
Message-ID: <20061105.020415.1648.1.pauldhanna@juno.com>
Emeric (and Seqfans),
Correction to my typo in prior e-mail:
> I will not attempt to give a simpler g.f. for your M[n], where:
> M[n+1](z) = M[n](z)*C[n](z^n*M[n-1]^(n-1));
that should have been:
M[1](z) = 1/(1-z);
M[n+1](z) = M[n](z)*C[n+1](z^(n+1)*M[n]^n);
This was more clearly given by Emeric, but I correct myself for the sake
of accuracy.
Paul
From zakseidov at yahoo.com Sun Nov 5 09:49:35 2006
From: zakseidov at yahoo.com (zak seidov)
Date: Sun, 5 Nov 2006 00:49:35 -0800 (PST)
Subject: A124057 is subset of A045940
Message-ID: <20061105084935.7574.qmail@web38212.mail.mud.yahoo.com>
A124057 is subset of A045940
from which more terms for A124057
can be retrieved:
602,603,1083,2012,2091,2522,2523,2524,2634,2763,3243,3355,4202,4203,4921,4922,4923,5034,5035,5132,5203,5282,5283,5785,5882,5954,5972,6092,6212,6476,6962,6985,7730,7731,7945,8393,8825,8956,8972
%N A045940 Numbers n such that factorizations of n
through n+3 have same number of primes (including
multiplicities).
%N A124057 Numbers n such that n, n+1, n+2 and n+3 are
products of exactly 3 primes.
____________________________________________________________________________________
Access over 1 million songs - Yahoo! Music Unlimited
(http://music.yahoo.com/unlimited)
From jvospost3 at gmail.com Sun Nov 5 17:53:45 2006
From: jvospost3 at gmail.com (Jonathan Post)
Date: Sun, 5 Nov 2006 08:53:45 -0800
Subject: A124057 is subset of A045940
In-Reply-To: <20061105084935.7574.qmail@web38212.mail.mud.yahoo.com>
References: <20061105084935.7574.qmail@web38212.mail.mud.yahoo.com>
Message-ID: <5542af940611050853h50af8ae5ue5004d32f982bef0@mail.gmail.com>
Dear Zak.
You're right. I knew that; it's in my handwritten notes. I should have you
submit that as a comment, and also have A045940 added as a cf to A124057,
and also show your extension. Thank you!
Shalom,
Jonathan
On 11/5/06, zak seidov wrote:
>
> A124057 is subset of A045940
> from which more terms for A124057
> can be retrieved:
>
>
> 602,603,1083,2012,2091,2522,2523,2524,2634,2763,3243,3355,4202,4203,4921,4922,4923,5034,5035,5132,5203,5282,5283,5785,5882,5954,5972,6092,6212,6476,6962,6985,7730,7731,7945,8393,8825,8956,8972
>
>
> %N A045940 Numbers n such that factorizations of n
> through n+3 have same number of primes (including
> multiplicities).
>
> %N A124057 Numbers n such that n, n+1, n+2 and n+3 are
> products of exactly 3 primes.
>
>
>
>
>
> ____________________________________________________________________________________
> Access over 1 million songs - Yahoo! Music Unlimited
> (http://music.yahoo.com/unlimited)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From franktaw at netscape.net Sun Nov 5 18:35:13 2006
From: franktaw at netscape.net (franktaw at netscape.net)
Date: Sun, 05 Nov 2006 12:35:13 -0500
Subject: A124015 thoughts
In-Reply-To: <5542af940611031849k32eb1687oc17e423c11cb03a9@mail.gmail.com>
References: <000601c6ffa9$cfe95890$6401a8c0@yourxhtr8hvc4p> <5542af940611031849k32eb1687oc17e423c11cb03a9@mail.gmail.com>
Message-ID: <8C8CF17E2474CE1-958-EFD9@FWM-M05.sysops.aol.com>
Some years ago, researchers at Brown University put together a
collection of text from a large variety of source to serve as a
cross-section of English usage, for study of this kind of question. If
you're going to add a sequence with statistics of this sort, that would
be the place to start.
See, e.g., Wikipedia: http://en.wikipedia.org/wiki/Brown_Corpus.
Franklin T. Adams-Watters
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and
industry-leading spam and email virus protection.
From bdm at cs.anu.edu.au Sun Nov 5 23:40:24 2006
From: bdm at cs.anu.edu.au (Brendan McKay)
Date: Mon, 6 Nov 2006 09:40:24 +1100
Subject: A124015 thoughts
In-Reply-To: <8C8CF17E2474CE1-958-EFD9@FWM-M05.sysops.aol.com>
References: <000601c6ffa9$cfe95890$6401a8c0@yourxhtr8hvc4p> <5542af940611031849k32eb1687oc17e423c11cb03a9@mail.gmail.com> <8C8CF17E2474CE1-958-EFD9@FWM-M05.sysops.aol.com>
Message-ID: <20061105224024.GC28253@cs.anu.edu.au>
* franktaw at netscape.net [061106 04:35]:
> Some years ago, researchers at Brown University put together a
> collection of text from a large variety of source to serve as a
> cross-section of English usage, for study of this kind of question. If
> you're going to add a sequence with statistics of this sort, that would
> be the place to start.
>
> See, e.g., Wikipedia: http://en.wikipedia.org/wiki/Brown_Corpus.
>
> Franklin T. Adams-Watters
Yes, but I don't know if statistics based on sampling belong in OEIS.
They are not precise well-defined quantities. Counts derived from
single texts are more concrete, but even then there are multiple
editions, even changes between printings of the same edition.
Brendan.
From zakseidov at yahoo.com Sun Nov 5 23:53:40 2006
From: zakseidov at yahoo.com (zak seidov)
Date: Sun, 5 Nov 2006 14:53:40 -0800 (PST)
Subject: Don't restrict OEIS sequence domains!
In-Reply-To: <001501c70116$e2fabd20$6401a8c0@yourxhtr8hvc4p>
Message-ID: <20061105225340.19195.qmail@web38215.mail.mud.yahoo.com>
David,
I simply remember Neil's recommendation
(somewhere in his tip's) to omit trivial cases
e.g. if each second term is zero.
And you may wish to
put in %C A053699
some of your observations,
e.g., a(n_odd)=2.
Zak
--- David Wilson wrote:
> ----- Original Message -----
> From: "zak seidov"
> To:
> Sent: Sunday, November 05, 2006 1:28 AM
> Subject: Re: Observation on A053669
>
>
> > Yes,
> > and because a(n_odd)=2
> > keep only even n's.
> > Zak
>
> > [Earlier included message elided]
> ---------------------------
>
> Let's take a look at Zak's recommendation to
> restrict the domain of A053699
> to even n:
>
> A053699(n) currently looks like:
>
>
2,3,2,3,2,5,2,3,2,3,2,5,2,3,2,3,2,5,2,3,2,3,2,5,2,3,2,3,2,5,2,3,2,3,2,7,...
>
> But a(k) = 2 for odd k, these values are
> uninteresting, so list only a(2n):
>
>
3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,...
>
> But now a(k) = 3 unless 6 divides k, so we should
> list only a(6n):
>
>
5,5,5,5,7,5,5,5,5,7,5,5,5,5,7,5,5,5,5,7,5,5,5,5,7,5,5,5,5,7,5,5,5,5,11,..
>
> But again, a(k) = 5 except when 30 divides k, so
> let's eject these boring
> values and keep only a(30n):
>
>
7,7,7,7,7,7,11,7,7,7,7,7,7,11,7,7,7,7,7,7,11,7,7,7,7,7,7,11,7,7,7,7,7,...
>
> But look at all the uninteresting 7's. Maybe we
> should list only a(210n)...
>
> I think you get the picture. In the case of this
> sequence, we repeatedly
> eliminate uninteresting domain values, but we never
> flush out the elusive
> "interesting domain" of the sequence. Indeed, we can
> eliminate the entire
> domain as uninteresting, whereas I think the
> original sequence is indeed
> quite interesting.
>
> Clearly, there are times when restricted domains are
> useful. For example,
> since the areas of Pythagorean triangles are always
> divisible by 6, it would
> seem reasonable, in the name of compactness, to
> prefer "Number of
> Pythagorean triangles with area 6n" over "Number of
> Pythagorean triangles of
> area n", since the latter would have a(n) = 0 for n
> != 6k. Nevertheless, I
> would advocate having both sequences in the OEIS,
> because we never know if
> the user will be searching for the compact or
> inflated version of the
> sequence.
>
> Similarly, if we adopt Zak's recommendation to
> restrict A065577 to a domain
> of even values, and then someone looks up
>
> 2,3,2,3,2,5,2,3,2,3,2,5
>
> they will probably miss the most straightforward
> explanation of their
> sequence.
>
> In short: Don't restrict domains of OEIS sequences
> unless it makes clear
> sense to do so, and if you do include a sequence on
> some restricted
> "interesting" domain, have pity on the OEIS users
> and also include the same
> sequence on its fullest possible domain.
>
> ----- Original Message -----
> From: "zak seidov"
> To:
> Sent: Sunday, November 05, 2006 1:28 AM
> Subject: Re: Observation on A053669
>
>
> > Yes,
> > and because a(n_odd)=2
> > keep only even n's.
> > Zak
>
>
____________________________________________________________________________________
Want to start your own business? Learn how on Yahoo! Small Business
(http://smallbusiness.yahoo.com)
From franktaw at netscape.net Mon Nov 6 00:26:46 2006
From: franktaw at netscape.net (franktaw at netscape.net)
Date: Sun, 05 Nov 2006 18:26:46 -0500
Subject: A124015 thoughts
In-Reply-To: <20061105224024.GC28253@cs.anu.edu.au>
References: <000601c6ffa9$cfe95890$6401a8c0@yourxhtr8hvc4p> <5542af940611031849k32eb1687oc17e423c11cb03a9@mail.gmail.com> <8C8CF17E2474CE1-958-EFD9@FWM-M05.sysops.aol.com> <20061105224024.GC28253@cs.anu.edu.au>
Message-ID: <8C8CF48FECF25AB-958-F877@FWM-M05.sysops.aol.com>
I'm not saying one way or the other whether this sort of thing belongs
in the OEIS; just that, if it is going to be there, the Brown Corpus
would be the best source for it.
The Brown Corpus is about as concrete as you can get in this area. It
is very well defined and a standard research reference.
Franklin T. Adams-Watters
-----Original Message-----
From: bdm at cs.anu.edu.au
* franktaw at netscape.net [061106 04:35]:
> Some years ago, researchers at Brown University put together a
> collection of text from a large variety of source to serve as a
> cross-section of English usage, for study of this kind of question.
If
> you're going to add a sequence with statistics of this sort, that
would
> be the place to start.
>
> See, e.g., Wikipedia: http://en.wikipedia.org/wiki/Brown_Corpus.
>
> Franklin T. Adams-Watters
Yes, but I don't know if statistics based on sampling belong in OEIS.
They are not precise well-defined quantities. Counts derived from
single texts are more concrete, but even then there are multiple
editions, even changes between printings of the same edition.
Brendan.
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and
industry-leading spam and email virus protection.
From zakseidov at yahoo.com Mon Nov 6 00:51:18 2006
From: zakseidov at yahoo.com (zak seidov)
Date: Sun, 5 Nov 2006 15:51:18 -0800 (PST)
Subject: A124057 is subset of A045940
Message-ID: <20061105235118.90653.qmail@web38203.mail.mud.yahoo.com>
Just submitted:
My Q to seqfans:
Really, there are no numbers n such that n, n+1, n+2
and n+3 are products of 6 primes?
No for n<7258290.
Thanks, Zak
%I A124728
%S A124728
4023,7314,9162,12122,12123,16674,19434,19940,23874,24723,29094,33234,35124,35125,39234,42182,42183,44163,45175,46988,49147,51793,52854,52855,54584,54585,54663,58375,63594,64074,64075,64323,64491,64712,64713,65943,67507,67962,70262,71124,75123,75446,77283,80792,80793,81025,81963,81975,86823
%N A124728 Numbers n such that n, n+1, n+2 and n+3 are
products of 4 primes.
%C A124728 Subset of A045940 Numbers n such that
factorizations of n through n+3 have same number of
primes (including multiplicities).
Cf. A124057, A124729 Numbers n such that n, n+1, n+2
and n+3 are products of exactly 3,5 primes.
There are no numbers n such that n, n+1, n+2 and n+3
are products of exactly 6 primes(?)
%e A124728 4023=3^3*149, 4024=2^3*503, 4025=5^2*7*23,
4026=2*3*11*61 (all products of 4 primes).
%Y A124728 A045940, A124057, A124729.
%O A124728 1
%K A124728 ,nonn,
%A A124728 Zak Seidov (zakseidov at yahoo.com), Nov 05
2006
%I A124729
%S A124729
57967,491875,543303,584647,632148,632149,715374,824523,878875,914823,930123,931623,955448,964143,995874
%N A124729 Numbers n such that n, n+1, n+2 and n+3 are
products of 5 primes.
%C A124729 Subset of A045940 Numbers n such that
factorizations of n through n+3 have same number of
primes (including multiplicities).
Cf. A124057, A124728 Numbers n such that n, n+1, n+2
and n+3 are products of exactly 3,4 primes.
There are no numbers n such that n, n+1, n+2 and n+3
are products of exactly 6 primes(?)
%e A124729 57967=7^3*13^2, 57968=2^4*3623,
57969=3^3*19*113, 57970=2*5*11*17*31 (all product of 5
primes (including multiplicities)};
632148 is the first number such that n through n+4 are
5-almost primes.
%Y A124729 A045940, A124057, A124728.
%O A124729 1
%K A124729 ,nonn,
%A A124729 Zak Seidov (zakseidov at yahoo.com), Nov 05
2006
____________________________________________________________________________________
Low, Low, Low Rates! Check out Yahoo! Messenger's cheap PC-to-Phone call rates
(http://voice.yahoo.com)
From zakseidov at yahoo.com Mon Nov 6 02:02:27 2006
From: zakseidov at yahoo.com (zak seidov)
Date: Sun, 5 Nov 2006 17:02:27 -0800 (PST)
Subject: n..n+6 are all N-almost primes
Message-ID: <20061106010227.58041.qmail@web38206.mail.mud.yahoo.com>
Just dubmitted.
My Q to gurus:
Are there longer set(s) of successive numbers
n..n+m (m>6)
which are products of the same number (N) of primes
(including multiplicities)?
It seems that for larger N's,
the larger m's may be(?).
Thanks, Zak
%I A000001
%S A000001
211673,298433,355923,381353,460801,506521,540292,568729,690593,705953,737633,741305,921529
%N A000001 Numbers n such that factorizations of
n..n+6 have same number of primes (including
multiplicities).
%C A000001 Subset of A045940 Numbers n such that
factorizations of n..n+3 have same number of primes
(including multiplicities).
%e A000001 211673=7*11*2749, 211674=2*3*35279,
211675=5^2*8467, 211676=2^2*52919, 211677=3*37*1907,
211677=2*109*971, 211679=13*19*857 all 3-almost
primes;
355923=3^2*71*557, 355924=2^2*101*881,
355925=5^22*23*619, 355926=2*3*137*433,
355927=11*13*19*131, 355928=2^3*44491,
355929=3*7*17*997 all 4-almost primes.
%Y A000001 A045940.
%O A000001 1
%K A000001 ,nonn,
%A A000001 Zak Seidov (zakseidov at yahoo.com), Nov 05
2006
____________________________________________________________________________________
Get your email and see which of your friends are online - Right on the New Yahoo.com
(http://www.yahoo.com/preview)
From zakseidov at yahoo.com Mon Nov 6 03:49:26 2006
From: zakseidov at yahoo.com (zak seidov)
Date: Sun, 5 Nov 2006 18:49:26 -0800 (PST)
Subject: n..n+6 are all N-almost primes
In-Reply-To: <20061106010227.58041.qmail@web38206.mail.mud.yahoo.com>
Message-ID: <20061106024926.64870.qmail@web38203.mail.mud.yahoo.com>
--- zak seidov wrote:
> Are there longer set(s) of successive numbers
> n..n+m (m>6)
> which are products of the same number (N) of primes
> (including multiplicities)?
Me: Just submitted:
%I A000001
%S A000001
3405122,3405123,6612470,8360103,8520321,9306710
%N A000001 Numbers n such that n..n+7 are products of
the same number of primes.
%C A000001 Note that because 3405130=2*5*167*2039 is
also 4-almost prime,
3405122 is the first n such that numbers n..n+8 are
products of the same number N of primes (N=4).
%e A000001 3405122=2*7*29*8387, 3405123=3^2*19*19913,
3405124=2^2*127*6703, 3405125=5^3*27241,
3405126=2*3*59*9619, 3405127=11*23*43*313,
3405128=2^3*425641, 3405129=3*7*13*12473 all 4-almost
primes.
%O A000001 1
%K A000001 ,nonn,
%A A000001 Zak Seidov (zakseidov at yahoo.com), Nov 05
2006
Now we need to find numbers n such that n..n+m (m>8)
are N-almost primes (n'd be >10^7).
Thanks, Zak
BTW The "annoying" ad at the bottom of message is
from Yahoo!Mail - not me, sorry.
> Just dubmitted.
>
> My Q to gurus:
> Are there longer set(s) of successive numbers
> n..n+m (m>6)
> which are products of the same number (N) of primes
> (including multiplicities)?
>
> It seems that for larger N's,
> the larger m's may be(?).
>
> Thanks, Zak
>
> %I A000001
> %S A000001
>
211673,298433,355923,381353,460801,506521,540292,568729,690593,705953,737633,741305,921529
> %N A000001 Numbers n such that factorizations of
> n..n+6 have same number of primes (including
> multiplicities).
> %C A000001 Subset of A045940 Numbers n such that
> factorizations of n..n+3 have same number of primes
> (including multiplicities).
> %e A000001 211673=7*11*2749, 211674=2*3*35279,
> 211675=5^2*8467, 211676=2^2*52919, 211677=3*37*1907,
> 211677=2*109*971, 211679=13*19*857 all 3-almost
> primes;
> 355923=3^2*71*557, 355924=2^2*101*881,
> 355925=5^22*23*619, 355926=2*3*137*433,
> 355927=11*13*19*131, 355928=2^3*44491,
> 355929=3*7*17*997 all 4-almost primes.
> %Y A000001 A045940.
> %O A000001 1
> %K A000001 ,nonn,
> %A A000001 Zak Seidov (zakseidov at yahoo.com), Nov 05
> 2006
>
____________________________________________________________________________________
Access over 1 million songs - Yahoo! Music Unlimited
(http://music.yahoo.com/unlimited)
From davidwwilson at comcast.net Mon Nov 6 04:10:17 2006
From: davidwwilson at comcast.net (David Wilson)
Date: Sun, 5 Nov 2006 22:10:17 -0500
Subject: A124015 thoughts
References: <000601c6ffa9$cfe95890$6401a8c0@yourxhtr8hvc4p> <5542af940611031849k32eb1687oc17e423c11cb03a9@mail.gmail.com> <8C8CF17E2474CE1-958-EFD9@FWM-M05.sysops.aol.com> <20061105224024.GC28253@cs.anu.edu.au> <8C8CF48FECF25AB-958-F877@FWM-M05.sysops.aol.com>
Message-ID: <001901c70151$16106360$6401a8c0@yourxhtr8hvc4p>
Sounds great. Where do I get the Brown Corpus in computer-readable form?
----- Original Message -----
From:
To:
Sent: Sunday, November 05, 2006 6:26 PM
Subject: Re: A124015 thoughts
> I'm not saying one way or the other whether this sort of thing belongs
> in the OEIS; just that, if it is going to be there, the Brown Corpus
> would be the best source for it.
>
> The Brown Corpus is about as concrete as you can get in this area. It
> is very well defined and a standard research reference.
>
> Franklin T. Adams-Watters
>
>
> -----Original Message-----
> From: bdm at cs.anu.edu.au
>
> * franktaw at netscape.net [061106 04:35]:
>> Some years ago, researchers at Brown University put together a
>> collection of text from a large variety of source to serve as a
>> cross-section of English usage, for study of this kind of question.
> If
>> you're going to add a sequence with statistics of this sort, that
> would
>> be the place to start.
>>
>> See, e.g., Wikipedia: http://en.wikipedia.org/wiki/Brown_Corpus.
>>
>> Franklin T. Adams-Watters
>
> Yes, but I don't know if statistics based on sampling belong in OEIS.
> They are not precise well-defined quantities. Counts derived from
> single texts are more concrete, but even then there are multiple
> editions, even changes between printings of the same edition.
>
> Brendan.
>
>
> ________________________________________________________________________
> Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading
> spam and email virus protection.
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.430 / Virus Database: 268.13.28/518 - Release Date: 11/4/2006
> 5:30 PM
>
>
From dean at math.ucdavis.edu Mon Nov 6 10:39:09 2006
From: dean at math.ucdavis.edu (Dean Hickerson)
Date: Mon, 6 Nov 2006 01:39:09 -0800
Subject: terms lack
Message-ID: <20061106093909.GA16454@math.ucdavis.edu>
Mostly to Yasutoshi Kohmoto :
> Recently I updated more terms of A054572, which are calculated by
> Richard Mathar.
> And Neil claimed or got angry.
> He said, "You are red card. Don't submit a wrong sequences"
> I am exaggerating a little.
> These words are not exactly what he wrote.
>
> To Neil
> They are correct, not "wrong".
> It is only not complete.
The terms that are listed in a sequence should be the start of the sequence.
If there are missing terms in between the listed ones, then the sequence
entry is not just incomplete, it's wrong.
If you've computed some terms of a sequence, but you're not sure if there
are smaller ones that you've missed, then you should only include the ones
that you're sure are at the start of the sequence. You can add a comment
about the larger terms, stating that it's not known if there are smaller ones.
For example, the "EXTENSIONS" lines for the sequence A000043 (Mersenne
exponents) mention some recently discovered terms. But there might be
some smaller ones, so these are not included in the sequence.
> I defined many "divisor" functions and calculated many Amicable Numbers and
> Perfect Numbers using those functions.
> And I submitted them as sequences to OEIS.
>
> http://www.research.att.com/~njas/sequences/?q=kohmoto+amicable&sort=0&fmt=0&language=english&go=Search
>
> http://www.research.att.com/~njas/sequences/?q=kohmoto+perfect&sort=0&fmt=0&language=english&go=Search
>
> I suppose that they are almost complete but some of them might not be
> complete.
I've found missing terms for several of your sequences:
Sequences A045613 and A045614 ("Super Unitary Amicable Number") consist
of pairs of distinct numbers a and b such that
usigma(usigma(a)) = usigma(usigma(b)) = a+b.
(The definitions don't make this clear, but A045613 contains the smaller
members of the pairs and A045614 contains the larger members. Also they're
sorted by their smallest members, so 155 comes before 142 in A045614.) The
first 3 pairs that you've listed are (105, 155), (110, 142) and (2145, 3055).
But you've missed several smaller ones:
(33, 35), (208, 224), (268, 272), (455, 601), (695, 1033), (812, 956),
(1609, 1847), (1808, 2512), (1892, 3004), (1913, 2407), (2096, 2224)
A051594 and A051595 are "(-1)sigma amicable numbers". (Again, the definition
doesn't make it clear that A051595 has the smaller terms and A051594 has the
larger terms.) The first pair that you've listed is (1969706592, 2236072608).
But there are many smaller ones, starting with:
(429552, 466200), (497808, 604656), (800496, 1103760).
A036471-A036474 are defined as "Amicable quadruple: 4 different numbers
which satisfy sigma(a)=sigma(b)=sigma(c)=sigma(d)=a+b+c+d". The first
quadruple that you've listed has smallest element
342151462276356306033089201934180, but here's a much smaller one:
(3270960, 3361680, 3461040, 3834000)
(I think that's the smallest one, but I could be wrong.) If someone can
determine the first several terms of this sequence, then it should be
edited; otherwise it should be deleted.
In some of your sequences, I wasn't able to find any smaller terms, but the
ones that you've listed are so large that I'm not at all confident that they
are the smallest ones. For example, A038362 and A038363 are defined as
"A Rational Amicable Number: two different numbers a, b which satisfies the
following equation: sigma(a)=sigma(b)=(a+b)^3/(a^2+b^2)", and the smallest
pair that you've included is:
(26403469440047700, 30193441130006700)
Do you have any reason to think that that's the smallest such pair? If not,
and if you can't determine what the first few terms really are, then the
sequence should be deleted.
I've only looked at a few of your sequences, but that's enough to convince
me that they should all be checked.
Neil, I'll submit corrections for A045613, A045614, A051594, and A051595,
but I'm not going to work on the others. Maybe they should be deleted or
marked as "probation" until the author or someone else fixes them.
Dean Hickerson
dean at math.ucdavis.edu
From bdm at cs.anu.edu.au Mon Nov 6 12:45:30 2006
From: bdm at cs.anu.edu.au (Brendan McKay)
Date: Mon, 6 Nov 2006 22:45:30 +1100
Subject: terms lack
In-Reply-To: <20061106093909.GA16454@math.ucdavis.edu>
References: <20061106093909.GA16454@math.ucdavis.edu>
Message-ID: <20061106114530.GB4232@cs.anu.edu.au>
* Dean Hickerson [061106 20:40]:
> The terms that are listed in a sequence should be the start of the sequence.
> If there are missing terms in between the listed ones, then the sequence
> entry is not just incomplete, it's wrong.
>
> If you've computed some terms of a sequence, but you're not sure if there
> are smaller ones that you've missed, then you should only include the ones
> that you're sure are at the start of the sequence. You can add a comment
> about the larger terms, stating that it's not known if there are smaller ones.
> For example, the "EXTENSIONS" lines for the sequence A000043 (Mersenne
> exponents) mention some recently discovered terms. But there might be
> some smaller ones, so these are not included in the sequence.
Is there an official rule about this? I'm not sure it is correct.
Of course we should not submit sequences with possible gaps, but
suppose we can compute a(10) thru a(20) but have trouble with
a(1) thru a(9). I don't see why we can't submit a(10..20) with
an OFFSET of 10 and a comment explaining why a(1..9) are absent.
Brendan.
From Annette.Warlich at t-online.de Mon Nov 6 13:05:20 2006
From: Annette.Warlich at t-online.de (Gottfried Helms)
Date: Mon, 06 Nov 2006 13:05:20 +0100
Subject: Fibbinary sequence
Message-ID: <454F2500.2020107@t-online.de>
A courious result by chance:
A003714 Fibbinary numbers:
if n = F_i1+F_i2+...+F_ik is the Zeckendorf representation of n
(i.e. write n in Fibonacci number system)
then
a(n) = 2^{i1-2}+2^{i2-2}+...+2^{ik-2}.
0, 1, 2, 4, 5, 8, 9, 10, 16, 17, 18, 20, 21, 32, 33, 34, 36, 37,
40, 41, 42, 64, 65, 66, 68, 69, 72, 73, 74, 80, 81, 82, 84, 85,
128, 129, 130, 132, 133, 136, 137, 138, 144, 145, 146, 148, 149,
160, 161, 162, 164, 165, 168, 169, 170, 256, 257, 258, 260
I was checking some variants of the Pascal-matrix and got the
following
Let Px =
1 . . . . . . .
1 -1 . . . . . .
3/2 -3 1 . . . . .
4 -9 6 -1 . . . .
15 -35 30 -10 1 . . .
137/2 -345/2 165 -75 15 -1 . .
1491/4 -2009/2 1050 -560 315/2 -21 1 .
2374 -6720 7588 -4515 1540 -294 28 -1
then the index r of the rows, r=1..inf(??) , which contain only integers, is A003714
1, 2, 4, 5, 8, 9, 10, 16, 17, 18, 20, 21, 32, 33, 34, 36, 37,
40, 41, 42, 64,
(although I checked this only up to N=64)
Explanation: -----------------------------------------------------------
The matrix Px is constructed as a variant of Pj
Pj:
1 . . . . . . .
1 -1 . . . . . .
1 -2 1 . . . . .
1 -3 3 -1 . . . .
1 -4 6 -4 1 . . .
1 -5 10 -10 5 -1 . .
1 -6 15 -20 15 -6 1 .
1 -7 21 -35 35 -21 7 -1
which is the column-signed version of the Pascalmatrix P
Pj = P*J
where J is diagonal unit with alternating signs (diag(1,-1,1,-1,...))
The matrix S2 of the stirling-numbers of 2'nd kind
1 . . . . . . .
1 1 . . . . . .
1 3 1 . . . . .
1 7 6 1 . . . .
1 15 25 10 1 . . .
1 31 90 65 15 1 . .
1 63 301 350 140 21 1 .
1 127 966 1701 1050 266 28 1
and S1 of the stirling numbers of first kind (where also S1 = S2^-1)
1 . . . . . . .
-1 1 . . . . . .
2 -3 1 . . . . .
-6 11 -6 1 . . . .
24 -50 35 -10 1 . . .
-120 274 -225 85 -15 1 . .
720 -1764 1624 -735 175 -21 1 .
-5040 13068 -13132 6769 -1960 322 -28 1
with the eigenvalues Z(1) = diag(1,1/2,1/3,1/4) such that
G = S2 * Z(1) * S2^-1
G:
1 . . . . . . .
1/2 1/2 . . . . . .
1/6 1/2 1/3 . . . . .
0 1/4 1/2 1/4 . . . .
-1/30 0 1/3 1/2 1/5 . . .
0 -1/12 0 5/12 1/2 1/6 . .
1/42 0 -1/6 0 1/2 1/2 1/7 .
0 1/12 0 -7/24 0 7/12 1/2 1/8
form an eigensystem of G.
G ist interesting as it contains the bernoulli-
numbers, and coefficients of the integrals of the
bernoulli-functions.
Also G is Eigenmatrix of the signed Pascal-matrix Pj,
with the eigenvalues J = diag(1,-1,1,-1,...)
Pj = G * J * G^-1
and Pj is used in divergent Euler-summation, Hasse's
zeta-summation and elsewhere.
Now I tried a variant of P by varying G, where the eigenvalues
are not Z(1), but are V(1/2) = diag(1,1/2,1/4,1/8,....) for some
analyses about summing zeta series, since Z(1) and V(1/2) are
closely related in this subject and complementary/mutually supplementary
in certain manners.
Now with the G-variant
Gx = S2 * V(1/2) * S2^-1
Gx:
1 . . . . . . .
1/2 1/2 . . . . . .
0 3/4 1/4 . . . . .
-1/4 3/8 3/4 1/8 . . . .
0 -5/8 15/16 5/8 1/16 . . .
1/2 -15/16 -15/32 45/32 15/32 1/32 . .
0 7/4 -105/32 35/64 105/64 21/64 1/64 .
-17/8 147/32 7/32 -735/128 35/16 105/64 7/32 1/128
I come to
Px = Gx * J * Gx^-1
= ( S2 * V(1/2) * S2^-1 ) * J * (S2 * V(2) * S2^-1)
(while Pj is
Pj = G * J * G ^-1
= ( S2 * Z(-1) * S2^-1 ) * J * (S2 * Z(1) * S2^-1)
)
and as shown above:
Px:
1 . . . . . . .
1 -1 . . . . . .
3/2 -3 1 . . . . .
4 -9 6 -1 . . . .
15 -35 30 -10 1 . . .
137/2 -345/2 165 -75 15 -1 . .
1491/4 -2009/2 1050 -560 315/2 -21 1 .
2374 -6720 7588 -4515 1540 -294 28 -1
and the rows containing only integers, are uniquely
indicated by A003714, up to r=64, where the rownumber r
starts with 1.
Don't have an idea, how this coincidence could be interesting -
I thought I'd just sentd the observation..
Regards -
Gottfried Helms
From Labos at ana.sote.hu Mon Nov 6 13:38:39 2006
From: Labos at ana.sote.hu (=?ISO-8859-2?Q?L=DFbos_Elem=DAr?=)
Date: Mon, 6 Nov 2006 13:38:39 MET-1MEST
Subject: terms lack
In-Reply-To: <20061106114530.GB4232@cs.anu.edu.au>
References: <20061106093909.GA16454@math.ucdavis.edu>
Message-ID: <6578DDB2A59@ana.sote.hu>
On 6 Nov 06, at 22:45, Brendan McKay wrote:
> * Dean Hickerson [061106 20:40]:
> > The terms that are listed in a sequence should be the start of the sequence.
> > If there are missing terms in between the listed ones, then the sequence
> > entry is not just incomplete, it's wrong.
> >
> > If you've computed some terms of a sequence, but you're not sure if there
> > are smaller ones that you've missed, then you should only include the ones
> > that you're sure are at the start of the sequence. You can add a comment
> > about the larger terms, stating that it's not known if there are smaller ones.
> > For example, the "EXTENSIONS" lines for the sequence A000043 (Mersenne
> > exponents) mention some recently discovered terms. But there might be
> > some smaller ones, so these are not included in the sequence.
>
> Is there an official rule about this? I'm not sure it is correct.
> Of course we should not submit sequences with possible gaps, but
> suppose we can compute a(10) thru a(20) but have trouble with
> a(1) thru a(9). I don't see why we can't submit a(10..20) with
> an OFFSET of 10 and a comment explaining why a(1..9) are absent.
>
> Brendan.
There are 2 cases :
1 -- You cannot even know how many terms are missing.
This is essentally the case of eg Mersenne primes..
-------------------
2. -- You can specify the missing terms by list-
position. In this second case you can introduce
a marker signal to point to missing position.
Handling of the cases can follow different standard..
The general case can be worthwhile to publish if
so many hard computation is behind.
Ordering terms somehow it can be mentioned that
the sequence is lacunar.
With correct description the situation, the case is
neither wrong, nor good. Perhaps unnecessary...
The empty sequence represents the full lacunarity.
Quite correctly. However the empty sequence is
not unique.
Labos
From dean at math.ucdavis.edu Mon Nov 6 14:22:58 2006
From: dean at math.ucdavis.edu (Dean Hickerson)
Date: Mon, 6 Nov 2006 05:22:58 -0800
Subject: terms lack
Message-ID: <20061106132258.GA19536@math.ucdavis.edu>
Mostly to Brendan McKay
> Is there an official rule about this? I'm not sure it is correct.
> Of course we should not submit sequences with possible gaps, but
> suppose we can compute a(10) thru a(20) but have trouble with
> a(1) thru a(9). I don't see why we can't submit a(10..20) with
> an OFFSET of 10 and a comment explaining why a(1..9) are absent.
Sure, that's fine. In that case the sequence that's in the OEIS starts
with a(10), and it doesn't have any gaps. It's part of a longer, partially
unknown, one that starts with a(1), but the sequence that it's part of
isn't in the OEIS.
But in cases like Kohmoto's sequences that wouldn't work. For example,
suppose we know from hand calculation (as Kohmoto did for A045613), that
105, 110, and 2145 are in the sequence. Presumably we can test that
there are no terms between 105 and 110, but we can't tell if there are
terms below 105 or between 110 and 2145. So (ignoring the 4-term rule for
submissions) we could submit a sequence with just 105 and 110, and add
comments saying that there might be earlier terms and that 2145 is also
in the sequence, but we shouldn't submit the sequence as starting with
105, 110, 2145.
Dean Hickerson
dean at math.ucdavis.edu
From tbaruchel at free.fr Mon Nov 6 17:31:32 2006
From: tbaruchel at free.fr (Thomas Baruchel)
Date: Mon, 6 Nov 2006 17:31:32 +0100
Subject: A fast (written in assembly) library for continued fractions
In-Reply-To: <20061103221729.GB2467@>
References: <20061103221729.GB2467@>
Message-ID: <20061106163132.GA30587@>
On Ven, nov 03, 2006 at 11:17:29 +0100, Thomas Baruchel wrote:
> I wrote for my own purposes the following X86 assembly code, intended
The final version of my code can be found at
http://baruchel.free.fr/~thomas/wp/?p=10
I give also (in the comments of the file) advices for using the functions
from gcc, gfortran, g95. The fastest continued fractions in the west...
Next step will be functions for computing the Pell equation, but
pure FPU stack will not be possible this time (only eight registers), thus
some memory access will be required :-(
Regards,
--
Thomas Baruchel
http://baruchel.free.fr/~thomas/wp/
From Eric.Angelini at kntv.be Mon Nov 6 18:57:00 2006
From: Eric.Angelini at kntv.be (Eric Angelini)
Date: Mon, 6 Nov 2006 18:57:00 +0100
Subject: Langford/Skolem-like sequence : odd + even terms
Message-ID:
Hello SeqFans,
Another Langford/Skolem-like sequence, with a mixture of odd and
even terms -- plus two questions:
http://www.cetteadressecomportecinquantesignes.com/OddEvenSkol.htm
Best,
?.
From noe at sspectra.com Mon Nov 6 19:04:49 2006
From: noe at sspectra.com (T. D. Noe)
Date: Mon, 6 Nov 2006 10:04:49 -0800
Subject: Cyclotomic polynomial for n=0
Message-ID:
For n=1,2,3,... the cyclotomic polynomials are
x-1, x+1, x^2+x+1,...
It seems that there are two conventions for n=0:
x or 1
Mathematica says it is 1. I think Maple uses x. Can someone explain this?
Thanks,
Tony
From franktaw at netscape.net Mon Nov 6 22:27:14 2006
From: franktaw at netscape.net (franktaw at netscape.net)
Date: Mon, 06 Nov 2006 16:27:14 -0500
Subject: Cyclotomic polynomial for n=0
In-Reply-To:
References:
Message-ID: <8C8D001766F0D57-BD0-2F58@WEBMAIL-MA14.sysops.aol.com>
Strictly speaking, the cyclotomic polynomial for n=0 is undefned. The
two packages have chosen different ways to extend the concept to n=0;
it would have been perfectly OK for them to have returned some kind of
error.
There are reasonable arguments for either choice. A lot comes down to
the basic property that the degree is phi(n); the question then is,
what is phi(0)? Again, this is strictly speaking undefined, but there
are two reasonable choices: 0 and 1. phi(0) = 0 gives 1 as the value
of the 0th cyclotomic polynomial. If we take phi(0) = 1, then we need
to choose a root for the polynomial. Choosing 0 as the root gives the
nice property that the cyclotomic polynomials for n >= 0 constitute all
the primitive monic polynomials all of whose roots lie in the unit
disk; hence the selection of x as the polynomial.
If you take the formula Phi_n(x) = Product_{0<=k
Message-ID: <018901c7020c$e2322a30$ef73d7dc@FMC57937B6BE00>
To Dean Hicherson
Thanks for editing my sequences.
And thanks for a good explanation about "completeness".
Now, I understand that the purpose of OEIS is "Identification of
sequences", it is necessary.
Should A038362 be deleted?
Still, I think that it should exist , because a sequence is a mapping
from N to N, so a subset of the images is also a good information for
understanding the mapping.
Yasutoshi
----- Original Message -----
From: "Dean Hickerson"
To:
Sent: Monday, November 06, 2006 6:39 PM
Subject: Re: terms lack
> Mostly to Yasutoshi Kohmoto :
>
>> Recently I updated more terms of A054572, which are calculated by
>> Richard Mathar.
>> And Neil claimed or got angry.
>> He said, "You are red card. Don't submit a wrong sequences"
>> I am exaggerating a little.
>> These words are not exactly what he wrote.
>>
>> To Neil
>> They are correct, not "wrong".
>> It is only not complete.
>
> The terms that are listed in a sequence should be the start of the
> sequence.
> If there are missing terms in between the listed ones, then the sequence
> entry is not just incomplete, it's wrong.
>
> If you've computed some terms of a sequence, but you're not sure if there
> are smaller ones that you've missed, then you should only include the ones
> that you're sure are at the start of the sequence. You can add a comment
> about the larger terms, stating that it's not known if there are smaller
> ones.
> For example, the "EXTENSIONS" lines for the sequence A000043 (Mersenne
> exponents) mention some recently discovered terms. But there might be
> some smaller ones, so these are not included in the sequence.
>
>> I defined many "divisor" functions and calculated many Amicable Numbers
>> and
>> Perfect Numbers using those functions.
>> And I submitted them as sequences to OEIS.
>>
>> http://www.research.att.com/~njas/sequences/?q=kohmoto+amicable&sort=0&fmt=0&language=english&go=Search
>>
>> http://www.research.att.com/~njas/sequences/?q=kohmoto+perfect&sort=0&fmt=0&language=english&go=Search
>>
>> I suppose that they are almost complete but some of them might not be
>> complete.
>
> I've found missing terms for several of your sequences:
>
>
> Sequences A045613 and A045614 ("Super Unitary Amicable Number") consist
> of pairs of distinct numbers a and b such that
>
> usigma(usigma(a)) = usigma(usigma(b)) = a+b.
>
> (The definitions don't make this clear, but A045613 contains the smaller
> members of the pairs and A045614 contains the larger members. Also
> they're
> sorted by their smallest members, so 155 comes before 142 in A045614.)
> The
> first 3 pairs that you've listed are (105, 155), (110, 142) and (2145,
> 3055).
> But you've missed several smaller ones:
>
> (33, 35), (208, 224), (268, 272), (455, 601), (695, 1033), (812, 956),
> (1609, 1847), (1808, 2512), (1892, 3004), (1913, 2407), (2096, 2224)
>
>
> A051594 and A051595 are "(-1)sigma amicable numbers". (Again, the
> definition
> doesn't make it clear that A051595 has the smaller terms and A051594 has
> the
> larger terms.) The first pair that you've listed is (1969706592,
> 2236072608).
> But there are many smaller ones, starting with:
>
> (429552, 466200), (497808, 604656), (800496, 1103760).
>
>
> A036471-A036474 are defined as "Amicable quadruple: 4 different numbers
> which satisfy sigma(a)=sigma(b)=sigma(c)=sigma(d)=a+b+c+d". The first
> quadruple that you've listed has smallest element
> 342151462276356306033089201934180, but here's a much smaller one:
>
> (3270960, 3361680, 3461040, 3834000)
>
> (I think that's the smallest one, but I could be wrong.) If someone can
> determine the first several terms of this sequence, then it should be
> edited; otherwise it should be deleted.
>
>
> In some of your sequences, I wasn't able to find any smaller terms, but
> the
> ones that you've listed are so large that I'm not at all confident that
> they
> are the smallest ones. For example, A038362 and A038363 are defined as
> "A Rational Amicable Number: two different numbers a, b which satisfies
> the
> following equation: sigma(a)=sigma(b)=(a+b)^3/(a^2+b^2)", and the smallest
> pair that you've included is:
>
> (26403469440047700, 30193441130006700)
>
> Do you have any reason to think that that's the smallest such pair? If
> not,
> and if you can't determine what the first few terms really are, then the
> sequence should be deleted.
>
>
> I've only looked at a few of your sequences, but that's enough to convince
> me that they should all be checked.
>
> Neil, I'll submit corrections for A045613, A045614, A051594, and A051595,
> but I'm not going to work on the others. Maybe they should be deleted or
> marked as "probation" until the author or someone else fixes them.
>
> Dean Hickerson
> dean at math.ucdavis.edu
>
From maxale at gmail.com Tue Nov 7 22:14:38 2006
From: maxale at gmail.com (Max A.)
Date: Tue, 7 Nov 2006 13:14:38 -0800
Subject: square arrangements with bit-wise constraints
Message-ID:
There is a problem at MathPages about arrangements of numbers
0,1,...,15 into 4x4 array with certain bit-wise constraints:
http://www.mathpages.com/home/kmath352.htm
This problem (and its variants) can be easily generalized to
(2^n)x(2^n) arrays, e.g.:
In how many distinct ways can the integers 0 through 2^(2n)-1 be arranged
in a (2^n)x(2^n) array such that the bit-wise OR over each row, each column,
and each diagonal is 2^(2n)-1, and the bit-wise AND over each row, column,
and diagonal is 0?
Does anybody wish to compute corresponding sequences and submit them to OEIS?
Regards,
Max
From maxale at gmail.com Tue Nov 7 23:49:04 2006
From: maxale at gmail.com (Max A.)
Date: Tue, 7 Nov 2006 14:49:04 -0800
Subject: querying multidimensional sequences in OEIS
In-Reply-To: <8C8CDAB62830D6B-12C-D5A@WEBMAIL-MA20.sysops.aol.com>
References:
<8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com>
<8C8CDAB62830D6B-12C-D5A@WEBMAIL-MA20.sysops.aol.com>
Message-ID:
On 11/3/06, franktaw at netscape.net wrote:
> In the following, b(i), i = 1..k is the finite sequence. I'm starting
> all these
> sequences with the empty sequence, but I searched for them without
> that first term. All are shown here in A066099 order.
What is good about this order comparing, say, to the prime
factorization order suggested by Marc?
I would vote for having a standard way to represent such sequences in
OEIS (well documented there, and maybe even having a dedicated
keyword). That is important when one come up with a multidimensional
sequence and want to query it in OEIS. Then it will be enough for
him/her to encode the sequence in the standard way and make a single
query.
Of course, there are many representations possible but one of them
should be called "standard", and every multidimensional sequence
should have this standard representation (among maybe others) in OEIS.
Neil, does that sound reasonable?
Regards,
Max
From mlb at well.com Wed Nov 8 00:02:52 2006
From: mlb at well.com (Marc LeBrun)
Date: Tue, 07 Nov 2006 15:02:52 -0800
Subject: querying multidimensional sequences in OEIS
In-Reply-To:
References:
<8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com>
<8C8CDAB62830D6B-12C-D5A@WEBMAIL-MA20.sysops.aol.com>
Message-ID: <200611072304.kA7N3xSr010827@smtp.well.com>
> does that sound reasonable?
It does, but in practice there are already several orderings in wide
use (as Frank indicated).
Of course it's always possible to submit more than one ordering.
In fact sometimes different ones would be preferred in different contexts.
Or fancier (perhaps special-purpose) lookups could be used.
"That's the great thing about standards--there's so many to choose from!"
From franktaw at netscape.net Wed Nov 8 00:56:58 2006
From: franktaw at netscape.net (franktaw at netscape.net)
Date: Tue, 07 Nov 2006 18:56:58 -0500
Subject: querying multidimensional sequences in OEIS
In-Reply-To:
References: <8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com> <8C8CDAB62830D6B-12C-D5A@WEBMAIL-MA20.sysops.aol.com>
Message-ID: <8C8D0DF8BAA6EAF-124-5E95@FWM-M16.sysops.aol.com>
Exactly what factorization order? For most numbers, the sequence of
prime power exponents is not a sequence of positive integers. If 2
represents the sequence (1), what sequence does 3 represent?
If doesn't work any better to use prime power exponents to represent
sequences of non-negative integers. If 2 is (1) and 3 is (0,1), what
do
you use to represent (1,0)?
There are ways around these difficulties, but they are pretty
artificial.
A066099 sorts, first of all, by the number being composed; I think any
reasonable standard candidate should do that. Second, it is simple,
with a definition tied in to the binary numbers. Third, it is similar
to the
Mathematica ordering for partitions (subsort in reverse lexicographic
order), which is one of the two standards for partition ordering in the
OEIS.
(The equivalent of the other, the Abramowitz and Stegun ordering,
was not yet in the OEIS; I did submit it the other day with A-number
A124734. It is, in any event, not as simple to define as A066099.)
In any event, based on Neil saying to go ahead and submit these
sequences, I have submitted them with comments stating that
A066099 is the standard ordering.
Franklin T. Adams-Watters
-----Original Message-----
From: maxale at gmail.com
On 11/3/06, franktaw at netscape.net wrote:
> In the following, b(i), i = 1..k is the finite sequence. I'm
starting
> all these
> sequences with the empty sequence, but I searched for them without
> that first term. All are shown here in A066099 order.
What is good about this order comparing, say, to the prime
factorization order suggested by Marc?
I would vote for having a standard way to represent such sequences in
OEIS (well documented there, and maybe even having a dedicated
keyword). ...
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and
industry-leading spam and email virus protection.
From maxale at gmail.com Wed Nov 8 01:42:29 2006
From: maxale at gmail.com (Max A.)
Date: Tue, 7 Nov 2006 16:42:29 -0800
Subject: querying multidimensional sequences in OEIS
In-Reply-To: <8C8D0DF8BAA6EAF-124-5E95@FWM-M16.sysops.aol.com>
References:
<8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com>
<8C8CDAB62830D6B-12C-D5A@WEBMAIL-MA20.sysops.aol.com>
<8C8D0DF8BAA6EAF-124-5E95@FWM-M16.sysops.aol.com>
Message-ID:
On 11/7/06, franktaw at netscape.net wrote:
> Exactly what factorization order? For most numbers, the sequence of
> prime power exponents is not a sequence of positive integers. If 2
> represents the sequence (1), what sequence does 3 represent?
>
> If doesn't work any better to use prime power exponents to represent
> sequences of non-negative integers. If 2 is (1) and 3 is (0,1), what
> do you use to represent (1,0)?
Actually, the sequences that I mentioned recently does not depend on
trailing zeros, so index (1,0) for them is the same as (1). That's why
the factorization order works well for them.
> A066099 sorts, first of all, by the number being composed; I think any
> reasonable standard candidate should do that. Second, it is simple,
> with a definition tied in to the binary numbers. Third, it is similar
> to the
> Mathematica ordering for partitions (subsort in reverse lexicographic
> order), which is one of the two standards for partition ordering in the
> OEIS.
I see now the advantages of the A066099 ordering. And I agree that it
is a good candidate for the "standard".
Max
From arndt at jjj.de Wed Nov 8 03:54:45 2006
From: arndt at jjj.de (Joerg Arndt)
Date: Wed, 8 Nov 2006 13:54:45 +1100
Subject: Eisenstein-Fibonacci sequences
In-Reply-To: <5542af940611012344s6b5c6218j6849a4e1d0493d3d@mail.gmail.com>
References: <5542af940610221358k58b10d14q25d0d9825ed04974@mail.gmail.com> <20061102011002.GC6041@cochise.anu.edu.au> <5542af940611012344s6b5c6218j6849a4e1d0493d3d@mail.gmail.com>
Message-ID: <20061108025445.GC6252@cochise.anu.edu.au>
* Jonathan Post [Nov 08. 2006 13:29]:
> Thank you, Joerg. That was interesting. Does your generating function
> hypothesis hold when I extend the sequence by another 5 values, to a(n) = 0, 0,
> 1, 1, 3, 1, 7, 4,
> 14, 17, 28, 54, 66, 143, 182, 350, 687, 987, 2611, 4298 ? Again, assuming that
> I got the elementary algebra and arithmetic correct.
Alas, the function I gave was spurious, with the
additional terms no OGF is found.
The gp/script can be found here
http://www.jjj.de/pari/ggf.inc.gp
(cannot find Ralf original at the moment).
> If so, I should submit this sequence as by the two us!
Definitely your invention!
But thanks for the kind offer.
> [...]
best regards, jj
From zbi74583 at boat.zero.ad.jp Wed Nov 8 06:33:16 2006
From: zbi74583 at boat.zero.ad.jp (kohmoto)
Date: Wed, 8 Nov 2006 14:33:16 +0900
Subject: N(2)=1+1/2^2+2/3^2+5/4^2+4/5^2+2/6^2+6/7^2+....
Message-ID: <02ba01c702f7$69237ea0$ef73d7dc@FMC57937B6BE00>
Hi, Seqfans
I asked Mathar to calculate the following
number.
N(s)= Sum_{m=1 to infinity} (-1)Sigma(m)/m^s
See the end of this mail
I tried to find an identity like the following
Zeta(s)Zeta(s-1)=Sum_{m=1 to infinity} Sigma(m)/m^s
Zeta(s)/Zeta(s+1)=Sum_{m=1 to infinity} Phi(m)/m^s
But it is too difficult.
I transformed it a little as follows.
N(s)= Sum_{m=1 to infinity} (-1)Sigma(m)/m^s
= Product_{p_i} ( Sum_{k=0 to infinity}
(-1)Sigma(p_i^k)/p_i^(k*s) )
= Product_{p_i} ( Sum_{k=0 to infinity}
(Sigma(p_i^k)-2)/p_i^(k*s) )
= Product_{p_i} ( Sum_{k=0 to infinity}
Sigma(p_i^k)/p_i^(k*s) -2/(p_i^s-1) )
Some members of Seqfan might solve it easily.
Yasutsoshi
----- Original Message -----
From: "Richard Mathar"
To:
Cc:
Sent: Sunday, November 05, 2006 10:35 PM
Subject: Re: N(2)=1+1/2^2+2/3^2+5/4^2+4/5^2+2/6^2+6/7^2+....
>
> These are 5 tables of partial sums of N(s) up to some maximum
> m of sum_{m=1...max(m)) (-1)Sigma(m)/m^s. The first number
> is s, the second the maximum m up to which the sum has been accumulated,
> and finally the floating point number the partial sum.
> The case s=1 seems not to be a converging series; the partial sums are
> almost
> linear to the upper limit of m. (If your formula with the zeta-function is
> correct, this is expected since zeta(1)=infinty.) I am including some
> values
> for small maximum m so you can check the results for the basic cases.
> N(2) seems to be a converging series. For N(3) you could already get some
> pretty accurate estimate of the series limit.
>
> zeta(2)=1.644934067
> zeta(3)=1.202056903
> zeta(4)=1.082323234
> zeta(3)*zeta(2)=1.977304350
> zeta(4)*zeta(3)=1.301014115
> zeta(5)*zeta(4)=1.122291001
>
>
> PARI:
>
> \\ computes (-1)sigma(n)
> A049060(n)={
> local(i,resul,rmax,p) ;
> if(n==1,
> return(1)
> ) ;
> i=factor(n) ;
> rmax=matsize(i)[1] ;
> resul=1 ;
> for(r=1,rmax,
> p=0 ;
> for(j=1,i[r,2],
> p += i[r,1]^j ;
> ) ;
> resul *= p-1 ;
> ) ;
> return(resul) ;
> }
>
>
> N(s,mmax)={
> local(resul) ;
> resul=0.0 ;
> for(m=1,mmax,
> resul += A049060(m)/m^s ;
> if(m<10 || (m % 10000 == 0),
> print(s," ",m," ",resul) ;
> ) ;
> ) ;
> }
>
> {
> mmax=1000000 ;
> for(s=1,5,
> N(s,mmax) ;
> ) ;
> }
>
> Tables:
>
> 1 1 1.000000000000000000000000000
> 1 2 1.500000000000000000000000000
> 1 3 2.166666666666666666666666667
> 1 4 3.416666666666666666666666667
> 1 5 4.216666666666666666666666667
> 1 6 4.550000000000000000000000000
> 1 7 5.407142857142857142857142857
> 1 8 7.032142857142857142857142857
> 1 9 8.254365079365079365079365079
> 1 10000 8956.254813409229652481598757
> 1 20000 17913.54053798274101959639246
> 1 30000 26870.58900461199889420226700
> 1 40000 35827.55225952432056619824099
> 1 50000 44784.92216728336777991954546
> 1 60000 53741.30998083683291788901077
> 1 70000 62698.82877172292127401143322
> 1 80000 71656.42458494024747176547617
> 1 90000 80613.31691563743683765060924
> 1 100000 89570.20047616274019702521482
> 1 110000 98527.44018335441754406085900
> 1 120000 107484.2058258699552949703883
> 1 130000 116441.3450587298928159003627
> 1 140000 125399.1600101618061663172293
> 1 150000 134355.0716257765731578804073
> 1 160000 143312.6869188725594888173896
> 1 170000 152270.1691945778107893068833
> 1 180000 161227.3673088893702787242209
> 1 190000 170184.2283671443801174189235
> 1 200000 179141.9177161676803505348327
> 1 210000 188098.1905736334290746346704
> 1 220000 197055.5778178213299226211954
> 1 230000 206012.3243951074382665848232
> 1 240000 214969.0180191522602672455303
> 1 250000 223927.0626654355275622417046
> 1 260000 232884.0479228396547382227555
> 1 270000 241841.6897312605543987962985
> 1 280000 250798.1260711861562596104630
> 1 290000 259755.4115589713808307871029
> 1 300000 268712.2473108133199765189322
> 1 310000 277669.3610844430796369732363
> 1 320000 286626.7360084187087594659096
> 1 330000 295583.0702328420388811375076
> 1 340000 304540.9324662583651406115180
> 1 350000 313497.9488508493337302810705
> 1 360000 322455.2848872162239393519675
> 1 370000 331411.9952274305516780284586
> 1 380000 340369.3878688847801453424847
> 1 390000 349326.5442385613025662494469
> 1 400000 358283.7198151948112652311070
> 1 410000 367240.8596635115166082534173
> 1 420000 376197.2486760902447184900822
> 1 430000 385154.6524560274677028589761
> 1 440000 394112.0480841471143112935114
> 1 450000 403069.2697966051366843904756
> 1 460000 412026.1487890321657369929892
> 1 470000 420983.4928713199267860102478
> 1 480000 429940.0597652682271439943634
> 1 490000 438897.5981659322519223492273
> 1 500000 447855.4516433798944040122164
> 1 510000 456811.4127981064830642426529
> 1 520000 465769.1531758862533175249594
> 1 530000 474726.4930671377953578153300
> 1 540000 483683.7925672078781534825684
> 1 550000 492640.2315981062235193108053
> 1 560000 501597.6949987133986923353009
> 1 570000 510554.3958474732897001847922
> 1 580000 519511.5431567859764988621906
> 1 590000 528468.5920184442509092919859
> 1 600000 537425.2057958757909274862160
> 1 610000 546383.3300255139505983850944
> 1 620000 555340.2697592667964924572269
> 1 630000 564297.7073054137624068690112
> 1 640000 573254.2920689474814450061694
> 1 650000 582211.4873730487914773223047
> 1 660000 591168.5211525597522567544916
> 1 670000 600125.8589826114248021714650
> 1 680000 609083.0330009002048275663287
> 1 690000 618039.4919349372313479054900
> 1 700000 626997.2222632460664089943429
> 1 710000 635954.0917690439691078847726
> 1 720000 644911.6290093784488180074886
> 1 730000 653868.6304875870104467000556
> 1 740000 662825.3447013751015479514900
> 1 750000 671782.5558801465303249818702
> 1 760000 680739.9011662731435592584669
> 1 770000 689696.9475041453715157412648
> 1 780000 698653.1437839886472918561286
> 1 790000 707611.0985532863373721850039
> 1 800000 716568.7987693866776749447598
> 1 810000 725525.6575122445531974385646
> 1 820000 734482.4569919820693082893669
> 1 830000 743439.4779916042359124217226
> 1 840000 752396.3611940500092646796766
> 1 850000 761353.5394438445571430835057
> 1 860000 770310.9434931792736520368474
> 1 870000 779267.1927223886953325647496
> 1 880000 788225.1436674517253585125689
>
>
> 2 1 1.000000000000000000000000000
> 2 2 1.250000000000000000000000000
> 2 3 1.472222222222222222222222222
> 2 4 1.784722222222222222222222222
> 2 5 1.944722222222222222222222222
> 2 6 2.000277777777777777777777778
> 2 7 2.122726757369614512471655329
> 2 8 2.325851757369614512471655329
> 2 9 2.461654226505416981607457798
> 2 10000 8.619813177975507784214344698
> 2 20000 9.240635095871089404115753095
> 2 30000 9.603791897573761358292380061
> 2 40000 9.861458278261452185262848858
> 2 50000 10.06133043757656995196303496
> 2 60000 10.22462154552329778519365923
> 2 70000 10.36270038005636494621123847
> 2 80000 10.48231016697477680498962023
> 2 90000 10.58780522013752853231672862
> 2 100000 10.68217402235127296288785820
> 2 110000 10.76754463607533705360724580
> 2 120000 10.84547789729425765394094918
> 2 130000 10.91717268365027978460835188
> 2 140000 10.98355652885066079792761960
> 2 150000 11.04534545539722125239381859
> 2 160000 11.10315629233238669062836862
> 2 170000 11.15746025373895516747888760
> 2 180000 11.20865775307751148407150182
> 2 190000 11.25708463818456648077093060
> 2 200000 11.30303121795283056763425981
> 2 210000 11.34672871948779384291766276
> 2 220000 11.38839827063844308711114745
> 2 230000 11.42821240662906506074836109
> 2 240000 11.46633165190016188934526342
> 2 250000 11.50290004647923375585461222
> 2 260000 11.53802980091084626273394586
> 2 270000 11.57183602344116902681335304
> 2 280000 11.60440829561909536077171934
> 2 290000 11.63584045378869260629085740
> 2 300000 11.66620539683007648663354504
> 2 310000 11.69557551635064846235471407
> 2 320000 11.72401391041322342493145640
> 2 330000 11.75157395832622563415629569
> 2 340000 11.77831576251751436463182945
> 2 350000 11.80427986574616427809478607
> 2 360000 11.82951337960016320803463309
> 2 370000 11.85405377158818097821428014
> 2 380000 11.87794149361683265940241605
> 2 390000 11.90120806565142413868457075
> 2 400000 11.92388559358277288937420440
> 2 410000 11.94600303970164868968234173
> 2 420000 11.96758569454234998141373716
> 2 430000 11.98866287480559328733313634
> 2 440000 12.00925544388189350449936925
> 2 450000 12.02938482345842327394291528
> 2 460000 12.04907101416111155199518539
> 2 470000 12.06833481184766752219695603
> 2 480000 12.08719139777266186606623586
> 2 490000 12.10566116650605692754670219
> 2 500000 12.12375840131307130932177405
> 2 510000 12.14149351071909408890611230
> 2 520000 12.15888769016783248485026059
> 2 530000 12.17594975401341942285000014
> 2 540000 12.19269280126406301090981599
> 2 550000 12.20912705098196862278557687
> 2 560000 12.22526702472305560991043337
> 2 570000 12.24111996896626519121471994
> 2 580000 12.25669798166764128539680162
> 2 590000 12.27200952384435815319104573
> 2 600000 12.28706299338740013449483108
> 2 610000 12.30187012252190226181814868
> 2 620000 12.31643453756242668558457904
> 2 630000 12.33076670711890682146429120
> 2 640000 12.34487182648867321005497632
> 2 650000 12.35875920337989470739102627
> 2 660000 12.37243430644503889140869087
> 2 670000 12.38590421689421153982279985
> 2 680000 12.39917431914306915108546756
> 2 690000 12.41224965443445935379058168
> 2 700000 12.42513867918653815467126754
> 2 710000 12.43784365088579118428209464
> 2 720000 12.45037185509338005878377820
> 2 730000 12.46272650898502725121177200
> 2 740000 12.47491268376206272216237202
> 2 750000 12.48693594951832440956683550
> 2 760000 12.49880013638169511883229569
> 2 770000 12.51050884124405914256853750
> 2 780000 12.52206537108093533871333277
> 2 790000 12.53347692259745252540675575
> 2 800000 12.54474459716977128685280547
> 2 810000 12.55587125001645305770022096
> 2 820000 12.56686130746829341595469366
> 2 830000 12.57771842011223665163037795
> 2 840000 12.58844534265072464040923243
> 2 850000 12.59904566706465055360427300
> 2 860000 12.60952226922408394518254911
> 2 870000 12.61987642201166975414741555
> 2 880000 12.63011418303496833362065684
> 2 890000 12.64023571583693921823484395
> 2 900000 12.65024408926657285403820450
> 2 910000 12.66014049405210257196085418
> 2 920000 12.66993013960070545251999449
> 2 930000 12.67961329658082585267888159
> 2 940000 12.68919341076487592672709130
> 2 950000 12.69867217785123447166660908
> 2 960000 12.70805040456023104531710849
> 2 970000 12.71733330696500792660758365
> 2 980000 12.72652037909829933006161382
> 2 990000 12.73561385879130711822105048
> 2 1000000 12.74461639944508312563225494
>
>
> 3 1 1.000000000000000000000000000
> 3 2 1.125000000000000000000000000
> 3 3 1.199074074074074074074074074
> 3 4 1.277199074074074074074074074
> 3 5 1.309199074074074074074074074
> 3 6 1.318458333333333333333333333
> 3 7 1.335951044703595724003887269
> 3 8 1.361341669703595724003887269
> 3 9 1.376430832940907109463420877
> 3 10000 1.463913982110741753040591678
> 3 20000 1.463958761182127253891639226
> 3 30000 1.463973687899719174955107484
> 3 40000 1.463981151485566123839035784
> 3 50000 1.463985629911768534082474807
> 3 60000 1.463988615257603046255509048
> 3 70000 1.463990747941060935932260523
> 3 80000 1.463992347452072574407883095
> 3 90000 1.463993591418911296987275373
> 3 100000 1.463994586598910692322299337
> 3 110000 1.463995400874372718599240224
> 3 120000 1.463996079403452056486658683
> 3 130000 1.463996653569731083112186861
> 3 140000 1.463997145746936259101012298
> 3 150000 1.463997572212239449568643565
> 3 160000 1.463997945442508018944894819
> 3 170000 1.463998274756427172013405468
> 3 180000 1.463998567470471281896562070
> 3 190000 1.463998829362945706567178177
> 3 200000 1.463999065087923587578410681
> 3 210000 1.463999278329572278322382185
> 3 220000 1.463999472210290336272529678
> 3 230000 1.463999649219477985324795694
> 3 240000 1.463999811477588227637144335
> 3 250000 1.463999960777271571969049099
> 3 260000 1.464000098575628251036076097
> 3 270000 1.464000226175768714632044135
> 3 280000 1.464000344645861174695942201
> 3 290000 1.464000454956284414358238477
> 3 300000 1.464000557907605374141443674
> 3 310000 1.464000654220015163939180059
> 3 320000 1.464000744515464470055773720
> 3 330000 1.464000829328753859822237621
> 3 340000 1.464000909166687500211857215
> 3 350000 1.464000984435262908416401907
> 3 360000 1.464001055524739843653406744
> 3 370000 1.464001122766895437258623701
> 3 380000 1.464001186474841361410807209
> 3 390000 1.464001246914091200041356493
> 3 400000 1.464001304331492624240843891
> 3 410000 1.464001358947841911631088786
> 3 420000 1.464001410959152183436079651
> 3 430000 1.464001460557008749462202957
> 3 440000 1.464001507900298795165105625
> 3 450000 1.464001553138542176224706874
> 3 460000 1.464001596408268761316169011
> 3 470000 1.464001637838876141306278665
> 3 480000 1.464001677539798346550656570
> 3 490000 1.464001715624418180233792011
> 3 500000 1.464001752186865804286414230
> 3 510000 1.464001787308096983826068464
> 3 520000 1.464001821085252219783666269
> 3 530000 1.464001853586288170141300728
> 3 540000 1.464001884883421221311137792
> 3 550000 1.464001915039618326560450277
> 3 560000 1.464001944122159842425557477
> 3 570000 1.464001972181866862157721242
> 3 580000 1.464001999275380923272745020
> 3 590000 1.464002025450188768071703730
> 3 600000 1.464002050751299694154935270
> 3 610000 1.464002075226966770079630464
> 3 620000 1.464002098909928297454328876
> 3 630000 1.464002121842320025653578842
> 3 640000 1.464002144055977272720855659
> 3 650000 1.464002165587616796774276693
> 3 660000 1.464002186466412269783936185
> 3 670000 1.464002206722643544544226821
> 3 680000 1.464002226382732127695424983
> 3 690000 1.464002245471462412103956612
> 3 700000 1.464002264017435494080639785
> 3 710000 1.464002282039246813434225341
> 3 720000 1.464002299561748289079351576
> 3 730000 1.464002316603153605988980695
> 3 740000 1.464002333183468992396940641
> 3 750000 1.464002349322542550155865090
> 3 760000 1.464002365037130225625255935
> 3 770000 1.464002380343037616331619950
> 3 780000 1.464002395255086253184010138
> 3 790000 1.464002409792474848650673824
> 3 800000 1.464002423965997236326475471
> 3 810000 1.464002437788253358795504488
> 3 820000 1.464002451273302166423360831
> 3 830000 1.464002464433742258170070393
> 3 840000 1.464002477280648906020788669
> 3 850000 1.464002489825692224210435982
> 3 860000 1.464002502079291985535094261
> 3 870000 1.464002514049668308408128899
> 3 880000 1.464002525750211478039722139
> 3 890000 1.464002537187197706443946991
> 3 900000 1.464002548369947911638829284
> 3 910000 1.464002559305408714470469907
> 3 920000 1.464002570004676399632165939
> 3 930000 1.464002580473145840547517414
> 3 940000 1.464002590719441673840433620
> 3 950000 1.464002600750056430793286939
> 3 960000 1.464002610570359301053681776
> 3 970000 1.464002620190111512591642127
> 3 980000 1.464002629612902400536905838
> 3 990000 1.464002638845007329954067381
> 3 1000000 1.464002647892926094713436024
>
>
> 4 1 1.000000000000000000000000000
> 4 2 1.062500000000000000000000000
> 4 3 1.087191358024691358024691358
> 4 4 1.106722608024691358024691358
> 4 5 1.113122608024691358024691358
> 4 6 1.114665817901234567901234568
> 4 7 1.117164776668414909425599416
> 4 8 1.120338604793414909425599416
> 4 9 1.122015178486449507809992039
> 4 10000 1.126342859836933119635341727
> 4 20000 1.126342863195068461987333491
> 4 30000 1.126342863816977724856173635
> 4 40000 1.126342864034657367890755384
> 4 50000 1.126342864135419045299551969
> 4 60000 1.126342864190149270391012376
> 4 70000 1.126342864223154637804140480
> 4 80000 1.126342864244576264194082203
> 4 90000 1.126342864259261709833237965
> 4 100000 1.126342864269766231843710036
> 4 110000 1.126342864277538770311620766
> 4 120000 1.126342864283450137689488953
> 4 130000 1.126342864288050791700191891
> 4 140000 1.126342864291701518257416350
> 4 150000 1.126342864294646135946293287
> 4 160000 1.126342864297056569571605552
> 4 170000 1.126342864299054229967212718
> 4 180000 1.126342864300728234359584700
> 4 190000 1.126342864302144893188134103
> 4 200000 1.126342864303354525085913547
> 4 210000 1.126342864304395340180474300
> 4 220000 1.126342864305297594007409955
> 4 230000 1.126342864306084686590084820
> 4 240000 1.126342864306775457553279160
> 4 250000 1.126342864307385095784161975
> 4 260000 1.126342864307925686556878209
> 4 270000 1.126342864308407364997509003
> 4 280000 1.126342864308838305443671084
> 4 290000 1.126342864309225477016399704
> 4 300000 1.126342864309574563445429650
> 4 310000 1.126342864309890425673710622
> 4 320000 1.126342864310177149073405791
> 4 330000 1.126342864310438174074903581
> 4 340000 1.126342864310676548757732228
> 4 350000 1.126342864310894763694630232
> 4 360000 1.126342864311095054783294446
> 4 370000 1.126342864311279313873956099
> 4 380000 1.126342864311449231412772564
> 4 390000 1.126342864311606242436985681
> 4 400000 1.126342864311751625747966668
> 4 410000 1.126342864311886501047539562
> 4 420000 1.126342864312011847410167188
> 4 430000 1.126342864312128564203286214
> 4 440000 1.126342864312237413459871362
> 4 450000 1.126342864312339084988654298
> 4 460000 1.126342864312434194531858928
> 4 470000 1.126342864312523302682800842
> 4 480000 1.126342864312606892652019146
> 4 490000 1.126342864312685425831403550
> 4 500000 1.126342864312759296677644308
> 4 510000 1.126342864312828850304390296
> 4 520000 1.126342864312894443054768726
> 4 530000 1.126342864312956355217879326
> 4 540000 1.126342864313014859446213372
> 4 550000 1.126342864313070196425470463
> 4 560000 1.126342864313122601535952824
> 4 570000 1.126342864313172268506265819
> 4 580000 1.126342864313219391141266622
> 4 590000 1.126342864313264137597311253
> 4 600000 1.126342864313306663426890322
> 4 610000 1.126342864313347121770685419
> 4 620000 1.126342864313385633102777798
> 4 630000 1.126342864313422327185152818
> 4 640000 1.126342864313457311416964776
> 4 650000 1.126342864313490695748042037
> 4 660000 1.126342864313522573574899694
> 4 670000 1.126342864313553035740126664
> 4 680000 1.126342864313582163334291352
> 4 690000 1.126342864313610031536993753
> 4 700000 1.126342864313636717733889822
> 4 710000 1.126342864313662281830870319
> 4 720000 1.126342864313686789977325667
> 4 730000 1.126342864313710296430980716
> 4 740000 1.126342864313732855692110296
> 4 750000 1.126342864313754519823275656
> 4 760000 1.126342864313775334724375007
> 4 770000 1.126342864313795343268423855
> 4 780000 1.126342864313814585400999315
> 4 790000 1.126342864313833105102330919
> 4 800000 1.126342864313850934103761246
> 4 810000 1.126342864313868105235437633
> 4 820000 1.126342864313884651902605718
> 4 830000 1.126342864313900604514476466
> 4 840000 1.126342864313915990566003172
> 4 850000 1.126342864313930837276585851
> 4 860000 1.126342864313945169444268968
> 4 870000 1.126342864313959008481394737
> 4 880000 1.126342864313972380956143569
> 4 890000 1.126342864313985304497313295
> 4 900000 1.126342864313997799554982470
> 4 910000 1.126342864314009883288627525
> 4 920000 1.126342864314021576813991216
> 4 930000 1.126342864314032894395637362
> 4 940000 1.126342864314043853302500574
> 4 950000 1.126342864314054467992200910
> 4 960000 1.126342864314064751304010854
> 4 970000 1.126342864314074720218563997
> 4 980000 1.126342864314084384860927016
> 4 990000 1.126342864314093757784864329
> 4 1000000 1.126342864314102851387025112
>
>
> 5 1 1.000000000000000000000000000
> 5 2 1.031250000000000000000000000
> 5 3 1.039480452674897119341563786
> 5 4 1.044363265174897119341563786
> 5 5 1.045643265174897119341563786
> 5 6 1.045900466820987654320987654
> 5 7 1.046257460930584845967325490
> 5 8 1.046654189446209845967325490
> 5 9 1.046840475412102579121146892
> 5 10000 1.047127646962981639236350714
> 5 20000 1.047127646963242803683634380
> 5 30000 1.047127646963269060444667980
> 5 40000 1.047127646963275452376929668
> 5 50000 1.047127646963277728778610486
> 5 60000 1.047127646963278734909173763
> 5 70000 1.047127646963279246707166974
> 5 80000 1.047127646963279534023699805
> 5 90000 1.047127646963279707590251386
> 5 100000 1.047127646963279818572046343
> 5 110000 1.047127646963279892819669335
> 5 120000 1.047127646963279944352143863
> 5 130000 1.047127646963279981235720216
> 5 140000 1.047127646963280008327383488
> 5 150000 1.047127646963280028667159600
> 5 160000 1.047127646963280044239866946
> 5 170000 1.047127646963280056361640181
> 5 180000 1.047127646963280065937720739
> 5 190000 1.047127646963280073602739981
> 5 200000 1.047127646963280079811373591
> 5 210000 1.047127646963280084892514359
> 5 220000 1.047127646963280089092048700
> 5 230000 1.047127646963280092592526331
> 5 240000 1.047127646963280095533744603
> 5 250000 1.047127646963280098023437624
> 5 260000 1.047127646963280100144477685
> 5 270000 1.047127646963280101962983953
> 5 280000 1.047127646963280103530722491
> 5 290000 1.047127646963280104889770905
> 5 300000 1.047127646963280106073563423
> 5 310000 1.047127646963280107109545028
> 5 320000 1.047127646963280108020080532
> 5 330000 1.047127646963280108823485592
> 5 340000 1.047127646963280109535261396
> 5 350000 1.047127646963280110167943658
> 5 360000 1.047127646963280110732291221
> 5 370000 1.047127646963280111237235413
> 5 380000 1.047127646963280111690454876
> 5 390000 1.047127646963280112098366088
> 5 400000 1.047127646963280112466502499
> 5 410000 1.047127646963280112799594529
> 5 420000 1.047127646963280113101691720
> 5 430000 1.047127646963280113376369686
> 5 440000 1.047127646963280113626641318
> 5 450000 1.047127646963280113855154497
> 5 460000 1.047127646963280114064219587
> 5 470000 1.047127646963280114255879066
> 5 480000 1.047127646963280114431883567
> 5 490000 1.047127646963280114593830274
> 5 500000 1.047127646963280114743084164
> 5 510000 1.047127646963280114880831757
> 5 520000 1.047127646963280115008212055
> 5 530000 1.047127646963280115126153891
> 5 540000 1.047127646963280115235519959
> 5 550000 1.047127646963280115337066821
> 5 560000 1.047127646963280115431500449
> 5 570000 1.047127646963280115519415563
> 5 580000 1.047127646963280115601376090
> 5 590000 1.047127646963280115677873082
> 5 600000 1.047127646963280115749351712
> 5 610000 1.047127646963280115816230987
> 5 620000 1.047127646963280115878856405
> 5 630000 1.047127646963280115937571799
> 5 640000 1.047127646963280115992669514
> 5 650000 1.047127646963280116044432219
> 5 660000 1.047127646963280116093104355
> 5 670000 1.047127646963280116138915493
> 5 680000 1.047127646963280116182070550
> 5 690000 1.047127646963280116222756887
> 5 700000 1.047127646963280116261156889
> 5 710000 1.047127646963280116297420392
> 5 720000 1.047127646963280116331699689
> 5 730000 1.047127646963280116364124370
> 5 740000 1.047127646963280116394819088
> 5 750000 1.047127646963280116423900164
> 5 760000 1.047127646963280116451471135
> 5 770000 1.047127646963280116477627542
> 5 780000 1.047127646963280116502457450
> 5 790000 1.047127646963280116526050682
> 5 800000 1.047127646963280116548478239
> 5 810000 1.047127646963280116569809891
> 5 820000 1.047127646963280116590113535
> 5 830000 1.047127646963280116609450953
> 5 840000 1.047127646963280116627878223
> 5 850000 1.047127646963280116645449098
> 5 860000 1.047127646963280116662212610
> 5 870000 1.047127646963280116678212198
> 5 880000 1.047127646963280116693495678
> 5 890000 1.047127646963280116708099149
> 5 900000 1.047127646963280116722060660
> 5 910000 1.047127646963280116735413376
> 5 920000 1.047127646963280116748193681
> 5 930000 1.047127646963280116760429366
> 5 940000 1.047127646963280116772150557
> 5 950000 1.047127646963280116783383436
> 5 960000 1.047127646963280116794151686
> 5 970000 1.047127646963280116804482528
> 5 980000 1.047127646963280116814395317
> 5 990000 1.047127646963280116823911289
> 5 1000000 1.047127646963280116833050882
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From ralf at ark.in-berlin.de Wed Nov 8 09:26:05 2006
From: ralf at ark.in-berlin.de (Ralf Stephan)
Date: Wed, 8 Nov 2006 09:26:05 +0100
Subject: Eisenstein-Fibonacci sequences
In-Reply-To: <20061108025445.GC6252@cochise.anu.edu.au>
References: <5542af940610221358k58b10d14q25d0d9825ed04974@mail.gmail.com> <20061102011002.GC6041@cochise.anu.edu.au> <5542af940611012344s6b5c6218j6849a4e1d0493d3d@mail.gmail.com> <20061108025445.GC6252@cochise.anu.edu.au>
Message-ID: <20061108082605.GA21119@ark.in-berlin.de>
You wrote
> * Jonathan Post [Nov 08. 2006 13:29]:
> > Thank you, Joerg. That was interesting. Does your generating function
> > hypothesis hold when I extend the sequence by another 5 values, to a(n) = 0, 0,
> > 1, 1, 3, 1, 7, 4,
> > 14, 17, 28, 54, 66, 143, 182, 350, 687, 987, 2611, 4298 ? Again, assuming that
> > I got the elementary algebra and arithmetic correct.
>
> Alas, the function I gave was spurious, with the
> additional terms no OGF is found.
Quite possible. Always treat them as hypotheses, as Jonathan said.
ralf
From maxale at gmail.com Wed Nov 8 11:27:40 2006
From: maxale at gmail.com (Max A.)
Date: Wed, 8 Nov 2006 02:27:40 -0800
Subject: A038379 is all wrong
Message-ID:
A038379 is defined as the "number of positive semi-definite real {0,1}
n X n matrices".
But the sequence and comments have nothing to do with the description.
In particular, all given values do not match the definition.
It lists 1, 3, 27, 729, 52649 while the correct values (that match the
definition) are 2, 7, 59, 1468, 102751 (I will be grateful if somebody
check these values).
For the simplest case n=1, it is clear that there two positive
semi-definite real {0,1}-matrices:
(0) and (1).
There is also a comment:
%C A038379 For n <= 4 a(n) = the upper bound 3^C(n,2).
Why the upper bound is 3^C(n,2) ? We have only two options for each
element of the matrix.
There would be an upper bound of this type if:
1) The main diagonal of a matrix is fixed, and the matrix is
symmetric. Then there are C(n,2) distinct non-diagonal elements whose
values should be assigned.
2) There are three (not two!) possible values for each non-diagonal
element of the matrix.
It seems that the definition of A038379 does not match the rest. Can
anybody find a definition of A038379 that is consistent with its
current content? If so, I will submit the real "number of positive
semi-definite real {0,1} n X n matrices" as a separate sequence.
Regards,
Max
From njas at research.att.com Wed Nov 8 15:54:53 2006
From: njas at research.att.com (N. J. A. Sloane)
Date: Wed, 8 Nov 2006 09:54:53 -0500 (EST)
Subject: A038379 is all wrong
Message-ID: <200611081454.JAA83283@fry.research.att.com>
Max, maybe I meant to say "Number of positive semi-definite real
matrices with entries {-1, 0, +1}." - can you check?
Neil
From maxale at gmail.com Wed Nov 8 22:59:13 2006
From: maxale at gmail.com (Max A.)
Date: Wed, 8 Nov 2006 13:59:13 -0800
Subject: A038379 is all wrong
In-Reply-To: <200611081454.JAA83283@fry.research.att.com>
References: <200611081454.JAA83283@fry.research.att.com>
Message-ID:
On 11/8/06, N. J. A. Sloane wrote:
> Max, maybe I meant to say "Number of positive semi-definite real
> matrices with entries {-1, 0, +1}." - can you check?
For the comment to make sense, the main diagonal should be fixed as well.
I will check most obvious variants.
Max
From jvospost3 at gmail.com Thu Nov 9 02:51:54 2006
From: jvospost3 at gmail.com (Jonathan Post)
Date: Wed, 8 Nov 2006 17:51:54 -0800
Subject: primes in arithmetic progression
In-Reply-To: <335cf8920611042302v7db1ca58xb8b67f872981b204@mail.gmail.com>
References: <200611041910.OAA62978@fry.research.att.com>
<5542af940611041355vd65aa5cr3a4a9df3cc348c15@mail.gmail.com>
<335cf8920611042302v7db1ca58xb8b67f872981b204@mail.gmail.com>
Message-ID: <5542af940611081751y69ee576as6473da25e91a2175@mail.gmail.com>
Sorry, Olivier. I hope not to repeat the mistake.
Thank you again, Richard J. Mathar, for your corrections and extensions of 6
Nov 2006, which appear online today for A124570. I'm surprised that nobody
looked in this direction, before you started it. NJAS was right to see the
value, and 'kick things off" -- and I hope that it does not stop with my
clumsy shot at the semiprime case, which you so gallantly repaired.
I'm mostly satisfied with the results of myself and tens of millions of
others voting in the U.S. elections Tuesday 7 Nove 2006. I feel as if the
whole country is being corrected and extended, to benefits both domestic and
global. But this is not the venue to discuss that.
On 11/4/06, Olivier Gerard wrote:
>
> Hello Jonathan,
>
> Thanks for this message.
>
> Please remember NOT to send your posts to seqfan as HTML,
> even with a pure text version.
>
> regards,
>
> Olivier
>
>
> On 11/4/06, Jonathan Post wrote:
> >
> > The analogue for 3-almost primes (or, as njas prefers, numbers which are
> > the product of exactly 3 primes) is left as an exercise for the reader...
> > I've just submitted the following.
> >
> > Subject: PRE-NUMBERED NEW SEQUENCE A124570 FROM Jonathan Vos Post
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From jvospost3 at gmail.com Thu Nov 9 04:11:11 2006
From: jvospost3 at gmail.com (Jonathan Post)
Date: Wed, 8 Nov 2006 19:11:11 -0800
Subject: Scrabblomics; COMMENT FROM Jonathan Vos Post RE A113172
In-Reply-To: <20061108213820.28640.qmail@web55109.mail.re4.yahoo.com>
References: <20061108213820.28640.qmail@web55109.mail.re4.yahoo.com>
Message-ID: <5542af940611081911h2ff3a639v3a4b53b5c2927de2@mail.gmail.com>
Here's more fun, with a silly if plausibly motivated name.
Subject: NEW SEQUENCE FROM Jonathan Vos Post
%I A000001
%S A000001 1,
3, 3,
8, 10, 8,
9, 12, 12, 9,
4, 15, 19, 15, 4,
7, 15, 19, 19, 15, 7,
8, 18, 19, 21, 19, 18, 8,
9, 22, 20, 11, 11, 20, 22, 9,
4, 15, 17, 15, 18, 15, 17, 15, 4,
7, 15, 18, 18, 20, 20, 18, 18, 15, 7,
8, 18, 20, 22, 21, 11, 21, 22, 20, 18, 8,
9, 22, 21, 17, 19, 18, 18, 19, 17, 21, 22, 9
%N A000001 Pascrabble Triangle, by rows.
%C A000001 The apex of the triangle is 1. Any other value is the
Scrabble value of English name for the number which is the sum of the
numbers above. This is generated the same way as A007318 Pascal's
triangle read by rows, except apply A113172 to each sum. The first
column of this triangle is 1, 3, 8, 9, 4, 7, 8, 9, 4, 7, 8, 9, 4, 7...
= iterations 1, A113172(1), A113172(A113172(1)),
A113172(A113172(A113172(1))).
The central pascrabble numbers T(2n+1,n) = 1, 10, 19, 21, 18, 11, 22, ...
%F A000001 T(1,1) = 1; for i > 1, T(i,j) = A113172(T(i-1, j-1)+T(i-1, j).
%e A000001 Triangle begins:
row.|.values in row
.1..|01
.2..|03.03
.3..|08.10.08
.4..|09.12.12.09
.5..|04.15.19.15.04
.6..|07.15.19.19.15.07
.7..|08.18.19.21.19.18.08
.8..|09.22.20.11.11.20.22.09
.9..|04.15.17.15.18.15.17.15.04
10..|07.15.18.18.20.20.18.18.15.07
11..|08.18.20.22.21.11.21.22.20.18.8
12..|09.22.21.17.19.18.18.19.17.21.22.09
%Y A000001 cf. A007318 Pascal's triangle read by rows, A113172.
%O A000001 1
%K A000001 ,easy,nonn,tabl,word,
%A A000001 Jonathan Vos Post (jvospost2 at yahoo.com), Nov 08 2006
I think that this cut & paste is pure text, and not HTML (as Olivier asked)
but I am not sure.
On 11/8/06, jonathan post wrote:
>
> My backup copy (as no autoreply yet).
>
> Subject: COMMENT FROM Jonathan Vos Post RE A113172
>
>
> %I A113172
> %S A113172
> 13,3,6,8,7,10,10,8,9,4,3,9,12,11,11,13,14,12,12,8,12,15,18,20,19,22,22
> %N A113172 Scrabble value of English word for the
> number n.
> %C A113172 Is 12 the unique fixed point of Scrabble
> value of English word for the number n, where
> A113172(n) = n? 12 --> "TWELVE" --> 1+4+1+1+4+1 -->
> 12. For what n are A113172(n) prime? For what n are
> there cycles of what length for iterations n,
> A113172(n), A113172(A113172(n)),
> A113172(A113172(A113172(n))), ...? For what n does
> A113172(n) | n? These are key questions in general
> Scrabblomics.
> %F A113172 Scrabble value of English word for the
> number n.
> %O A113172 1
> %K A113172 ,easy,nonn,word,
> %A A113172 Jonathan Vos Post (jvospost2 at yahoo.com),
> Nov 08 2006
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From rkg at cpsc.ucalgary.ca Thu Nov 9 20:26:26 2006
From: rkg at cpsc.ucalgary.ca (Richard Guy)
Date: Thu, 9 Nov 2006 12:26:26 -0700 (MST)
Subject: Small notation clean-up
In-Reply-To: <5542af940611081751y69ee576as6473da25e91a2175@mail.gmail.com>
References: <200611041910.OAA62978@fry.research.att.com>
<5542af940611041355vd65aa5cr3a4a9df3cc348c15@mail.gmail.com>
<335cf8920611042302v7db1ca58xb8b67f872981b204@mail.gmail.com>
<5542af940611081751y69ee576as6473da25e91a2175@mail.gmail.com>
Message-ID:
Would someone more competent & energetic than I
clean up the (usually unexplained) S_n
notation that appears sporadically in OEIS ?
Evidently it means a ``star'' with n vertices,
and so is in fact the complete bipartite graph
K_(1,n-1), a notation which is more widely
known. Best to all, R.
From maxale at gmail.com Thu Nov 9 20:35:39 2006
From: maxale at gmail.com (Max A.)
Date: Thu, 9 Nov 2006 11:35:39 -0800
Subject: Small notation clean-up
In-Reply-To:
References: <200611041910.OAA62978@fry.research.att.com>
<5542af940611041355vd65aa5cr3a4a9df3cc348c15@mail.gmail.com>
<335cf8920611042302v7db1ca58xb8b67f872981b204@mail.gmail.com>
<5542af940611081751y69ee576as6473da25e91a2175@mail.gmail.com>
Message-ID:
On 11/9/06, Richard Guy wrote:
> Would someone more competent & energetic than I
> clean up the (usually unexplained) S_n
> notation that appears sporadically in OEIS ?
>
> Evidently it means a ``star'' with n vertices,
It is also often used for the symmetric group of order n.
Max
From maxale at gmail.com Thu Nov 9 23:11:00 2006
From: maxale at gmail.com (Max A.)
Date: Thu, 9 Nov 2006 14:11:00 -0800
Subject: Eisenstein-Fibonacci sequences
In-Reply-To: <20061108025445.GC6252@cochise.anu.edu.au>
References: <5542af940610221358k58b10d14q25d0d9825ed04974@mail.gmail.com>
<20061102011002.GC6041@cochise.anu.edu.au>
<5542af940611012344s6b5c6218j6849a4e1d0493d3d@mail.gmail.com>
<20061108025445.GC6252@cochise.anu.edu.au>
Message-ID:
On 11/7/06, Joerg Arndt wrote:
> * Jonathan Post [Nov 08. 2006 13:29]:
> > Thank you, Joerg. That was interesting. Does your generating function
> > hypothesis hold when I extend the sequence by another 5 values, to a(n) = 0, 0,
> > 1, 1, 3, 1, 7, 4,
> > 14, 17, 28, 54, 66, 143, 182, 350, 687, 987, 2611, 4298 ? Again, assuming that
> > I got the elementary algebra and arithmetic correct.
>
> Alas, the function I gave was spurious, with the
> additional terms no OGF is found.
Not surprising at all!
This sequence is not well-defined (see above in this discussion), so
one may view its terms as random numbers. How can they have an OGF? ;)
Max
From jvospost3 at gmail.com Thu Nov 9 23:15:12 2006
From: jvospost3 at gmail.com (Jonathan Post)
Date: Thu, 9 Nov 2006 14:15:12 -0800
Subject: Eisenstein-Fibonacci sequences
In-Reply-To:
References: <5542af940610221358k58b10d14q25d0d9825ed04974@mail.gmail.com>
<20061102011002.GC6041@cochise.anu.edu.au>
<5542af940611012344s6b5c6218j6849a4e1d0493d3d@mail.gmail.com>
<20061108025445.GC6252@cochise.anu.edu.au>
Message-ID: <5542af940611091415m4db107dei8659adb11bdcbffa@mail.gmail.com>
Max's position is well taken. I think that "random" overstates it
somewhat. I think that even careful definition leaves a residuum of chaos
in the proper sense. I have not yet posted any seq based on this, out of
caution. When I do, I'll probably post just one and see what happens.
On 11/9/06, Max A. wrote:
>
> On 11/7/06, Joerg Arndt wrote:
> > * Jonathan Post [Nov 08. 2006 13:29]:
> > > Thank you, Joerg. That was interesting. Does your generating
> function
> > > hypothesis hold when I extend the sequence by another 5 values, to
> a(n) = 0, 0,
> > > 1, 1, 3, 1, 7, 4,
> > > 14, 17, 28, 54, 66, 143, 182, 350, 687, 987, 2611, 4298 ? Again,
> assuming that
> > > I got the elementary algebra and arithmetic correct.
> >
> > Alas, the function I gave was spurious, with the
> > additional terms no OGF is found.
>
> Not surprising at all!
> This sequence is not well-defined (see above in this discussion), so
> one may view its terms as random numbers. How can they have an OGF? ;)
>
> Max
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From maxale at gmail.com Thu Nov 9 23:41:15 2006
From: maxale at gmail.com (Max A.)
Date: Thu, 9 Nov 2006 14:41:15 -0800
Subject: Eisenstein-Fibonacci sequences
In-Reply-To: <5542af940611091415m4db107dei8659adb11bdcbffa@mail.gmail.com>
References: <5542af940610221358k58b10d14q25d0d9825ed04974@mail.gmail.com>
<20061102011002.GC6041@cochise.anu.edu.au>
<5542af940611012344s6b5c6218j6849a4e1d0493d3d@mail.gmail.com>
<20061108025445.GC6252@cochise.anu.edu.au>
<5542af940611091415m4db107dei8659adb11bdcbffa@mail.gmail.com>
Message-ID:
On 11/9/06, Jonathan Post wrote:
> Max's position is well taken. I think that "random" overstates it somewhat.
OK, it may not be random from your point of view since you followed
some rules (I believe) defining the terms of this sequence. The
problem is that you did not let us know these rules!
Remember the example I gave above? It was about different
representations of b(1) as 2-nd degree polynomials of w:
b(1) = w^2 = 2w^2+w+1 = 3w^2+2w+2 = ...
They all are equal (since w=(-1 + i*sqrt(3))/2) but at the same time
they all have different coefficients as polynomials of w.
For some (unknown to us) reason, you chose the first representation
that gave the 1st term of your sequence equal 0 (as the coefficient of
w^0 in b(1)=w^2). But you chose b(1)=2w^2+w+1, the first term would be
1; if you chose b(1)=3w^2+2w+2, it would be 2, etc.
There is yet another way to define your sequence precisely. This time
let's forget the exact value of w and keep in mind only that w^3 = 1.
Then every element of the sequence b(0) = w, b(1) = w^2, b(n) =
w*b(n-1) + b(n-2) have unique representation as a 2-nd degree
polynomial of w:
b(2) = -x + 1
b(3) = -2*x^2 + x
b(4) = x^2 + x - 3
b(5) = 3*x^2 - 4*x + 1
b(6) = -5*x^2 + 6
b(7) = -3*x^2 + 10*x - 6
b(8) = 15*x^2 - 6*x - 9
...
This gives us the following sequence of coefficients of w^0:
0, 0, 1, 0, -3, 1, 6, -6, -9
But it is different from your original sequence (again).
Max
From franktaw at netscape.net Fri Nov 10 00:40:10 2006
From: franktaw at netscape.net (franktaw at netscape.net)
Date: Thu, 09 Nov 2006 18:40:10 -0500
Subject: Incorrect conjecture
Message-ID: <8C8D26F876C6EFF-76C-A121@WEBMAIL-MA17.sysops.aol.com>
The conjecture in http://www.research.att.com/~njas/sequences/A092903
is wrong. This conjecture is that A092903 is not the same as A005153.
Translated, the opposite of this conjecture is that if every number up
to m can be expressed as the sum of distinct divisors of m, then every
number up to sigma(m) can be. (The latter condition is known as m is
practical.)
Following the link from A005153 to
http://planetmath.org/encyclopedia/PracticalNumber.html, we find the
lemma (paraphrased for non-graphical presentation): an integer m >= 2
with factorization Product_{i=1}^k p_i^e_i with the p_i in ascending
order is practical if and only if p_1 = 2 and, for 1 < i <= k, p_i <=
sigma(Product_{j < i} p_j^e_j) + 1.
Proof: Let m = Product_{i=1}^k p_i^e_i be a number not of this form.
If p_1 != 2, 2 cannot be represented as a sum. If p_i >
sigma(Product_{j
This is a hurried attempt to provide background on the genesis of A123937. I am sure that a most of what I write here is a poor rehash of basic theory, and this whole post probably equates to a few lines of generating function theory.
For d and n in Z+, let A_d(n) be the set of integer points on the d-sphere of radius sqrt(n) centered at the origin, that is:
[1] a_d(n) = #({P in Z^d : |P|^2 = n}).
A table of a_d(n) for a few small values of d and n:
Table of a_d(n)
\d| 0 1 2 3 4 5 6 7 8 9 10
n\|
---+--------------------------------------------------------------
0 | 1 1 1 1 1 1 1 1 1 1 1
1 | 0 2 4 6 8 10 12 14 16 18 20
2 | 0 0 4 12 24 40 60 84 112 144 180
3 | 0 0 0 8 32 80 160 280 448 672 960
4 | 0 2 4 6 24 90 252 574 1136 2034 3380
5 | 0 0 8 24 48 112 312 840 2016 4320 8424
6 | 0 0 0 24 96 240 544 1288 3136 7392 16320
7 | 0 0 0 0 64 320 960 2368 5504 12672 28800
8 | 0 0 4 12 24 200 1020 3444 9328 22608 52020
9 | 0 2 4 30 104 250 876 3542 12112 34802 88660
10 | 0 0 8 24 144 560 1560 4424 14112 44640 129064
Each sequence a_d is a column of this table. All of these column sequences already exist in the OEIS.
It turns out that a_d can be gotten by convolving the sequence j = (1,2,0,0,2,...) = A000122 d times with the convolutional identity sequence e = (1,0,0,0,0,...) = A000007. We could say that a_d = j^d as a "convolutional power".
The generating function of a_d is t(x)^d where t is the generating function of j. t turns out to be the Jacobi theta function theta_3, as noted on A000122. If we apply the finite difference transform to the sequence of generating functions {t(x)^d}, we obtain the sequence {(t(x)-1)^d}. Expanding these functions back to sequences gives the sequence of sequences {b_d} where b_d = (j-e)^d as a convolutional power. This allows us to constuct a table of b_d:
Table of b_d(n)
\d| 0 1 2 3 4 5 6 7 8 9 10
n\|
---+------------------------------------------------------
0 | 1 0 0 0 0 0 0 0 0 0 0
1 | 0 2 0 0 0 0 0 0 0 0 0
2 | 0 0 4 0 0 0 0 0 0 0 0
3 | 0 0 0 8 0 0 0 0 0 0 0
4 | 0 2 0 0 16 0 0 0 0 0 0
5 | 0 0 8 0 0 32 0 0 0 0 0
6 | 0 0 0 24 0 0 64 0 0 0 0
7 | 0 0 0 0 64 0 0 128 0 0 0
8 | 0 0 4 0 0 160 0 0 256 0 0
9 | 0 2 0 24 0 0 384 0 0 512 0
10 | 0 0 8 0 96 0 0 896 0 0 1024
It turns out that the process we used to get from the a_d table to the b_d table, namely, converting columns of a_d to generating functions, applying the finite difference transform to the gf's, and expanding the resulting functions back to columns of b_d, is the same as applying the finite difference transform to the rows of the a_d table to obtain rows of the b_d table.
An inductive proof starting with b_d = (j-e)^d where j-e = (0,2,0,0,2,...) shows that b_d(d) = 2^d and b_d(n) = 0 for n < d. This means that the nth element of the nth row of the b_d table is the last nonzero element in that row, which in turn implies that the nth row of the a_d table, that is, the number of integer points P with |P|^2 = n, is a polynomial of degree n in d.
If, instead of [1], we had started with
[1] a_d'(n) = #({P in Z^d : |P|^2 <= n})
which counts points inside as well as on the d-sphere, the nth row of a_d' table would be gotten by adding termwise the rows 0 through n of the a_d table. The sequence a_d' has generating function t(x)^d/(1-x). Similarly, the nth row of the corresponding b_d' table is the sum of rows 0 through n of the b_d table, and sequence b_d has generating function (t(x)-1)^d)/(1-x). The table of b_d', omitting the superdiagonal zeroes, is sequence A123937.
The recurrence given in the title of A123937 follows from the relation
b_d = (1,1,1,1,1,...) = A000012 if d = 0; (j-e) * b_{d-1}' if d >= 1.
I know this is a spotty exposition, but I'm sure the loose ends could be tied together by a real number theorist.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From zakseidov at yahoo.com Sat Nov 11 14:53:18 2006
From: zakseidov at yahoo.com (zak seidov)
Date: Sat, 11 Nov 2006 05:53:18 -0800 (PST)
Subject: A052530: to be edited
Message-ID: <20061111135318.71618.qmail@web38206.mail.mud.yahoo.com>
Both %F's and %t don't accord with entries %S
(mainly with first term of %S),
and note this misprint(?):
"a(n)-4*a(n+1)+a(n+2)})"
%S A052530
1,2,8,30,112,418,1560,5822,21728,81090,302632,
%F A052530 a(0) = c, a(1) = p*c^3; a(n+2) =
p*c^2*a(n+1) - a(n), for p = 1, c = 2.
%F A052530 Recurrence: {a(0)=1, a(1)=2, a(2)=8,
a(n)-4*a(n+1)+a(n+2)}
%t A052530 a[0] = c; a[1] = p*c^3; a[n_] := a[n] =
p*c^2*a[n - 1] - a[n - 2]; p = 1; c = 2;
Table[ a[n], {n, 0, 20} ]
Anyone may wish to fix it?
Zak
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index
From davidwwilson at comcast.net Sat Nov 11 16:34:08 2006
From: davidwwilson at comcast.net (David Wilson)
Date: Sat, 11 Nov 2006 10:34:08 -0500
Subject: A124057 is subset of A045940
References: <20061105235118.90653.qmail@web38203.mail.mud.yahoo.com>
Message-ID: <004501c705a6$d4c0bea0$6501a8c0@yourxhtr8hvc4p>
Nah, there's lots of them:
Yah, lots:
8706123 24463374 32442848 32942943 36782289 48580623 55486248 57476573
59600365 59757774 62481222 62664810 62884590 63262374 63728124 64724373
65159575 65450824 69362487 70302087 70370223 70785924 71494773 72060272
72503682 73256910 73638422 74066874 74361858 75356070 75414702 78676623
83349123 84405123 88094895 92349423 93803982 96192782 97757955 97822374
98474661 99104550 100708374 100997575 101302623 101905622 101905623
102956103 105596334 110476143 111673374 112529493 112801974 113067422
114811332 114940375 115338894 115466874 116079774 118269150 119076174
120919623 123052110 123821970 123952542 124045207 124232373 124465624
124581534 126115623 126134874 126619623 127151127 128095749 129079248
129764789 131404623 131422575 132568225 132617814 133891623 133918134
134350623 134421174 135691143 138468069 142680174 142904430 142904431
145863150 148286886 151757655 152779624 153101583 153129248 153930510
154322523 155740023 155826423 158252994
----- Original Message -----
From: "zak seidov"
To:
Sent: Sunday, November 05, 2006 6:51 PM
Subject: Re: A124057 is subset of A045940
> Just submitted:
>
> My Q to seqfans:
> Really, there are no numbers n such that n, n+1, n+2
> and n+3 are products of 6 primes?
> No for n<7258290.
> Thanks, Zak
From njas at research.att.com Sat Nov 11 22:52:30 2006
From: njas at research.att.com (N. J. A. Sloane)
Date: Sat, 11 Nov 2006 16:52:30 -0500 (EST)
Subject: querying multidimensional sequences in OEIS
References:
<8C8CD7271AC8D39-FD0-B08C@WEBMAIL-MA20.sysops.aol.com>
<8C8CDAB62830D6B-12C-D5A@WEBMAIL-MA20.sysops.aol.com>
Message-ID: <200611112152.QAA93259@fry.research.att.com>
Max, the other day you said:
Of course, there are many representations possible but one of them
should be called "standard", and every multidimensional sequence
should have this standard representation (among maybe others) in OEIS.
Neil, does that sound reasonable?
Me: it is very hard to force a standard representation - there are
too many people who use the OEIS and don't spend much time
reading rules
even such a simple thing as the "offset" and "keywords" gives
a lot of people trouble.
in short, it would not work
Neil
From njas at research.att.com Sun Nov 12 04:40:14 2006
From: njas at research.att.com (N. J. A. Sloane)
Date: Sat, 11 Nov 2006 22:40:14 -0500 (EST)
Subject: Thanks to Tony Noe.
Message-ID: <200611120340.WAA18989@fry.research.att.com>
Seqfans:
in the past few weeks Tony Noe has corrected several hundred entries
in the OEIS. the kinds of errors he has found include numbers
broken by commas, numbers run together, dropped digits, duplicated
numbers, and just plain wrong entries.
It is astonishing to me that there were so many errors.
And it suggests that there must be thousands of other errors
waiting to be found.
I would like to thank him for all his work. Incidentally he
has also added hundreds of b-files.
Right now I am in the middle of a large batch of updates - there
will be a new version of the OEIS by dawn.
Tony: thanks!
Neil
From neoneye at gmail.com Sun Nov 12 08:27:28 2006
From: neoneye at gmail.com (Simon Strandgaard)
Date: Sun, 12 Nov 2006 08:27:28 +0100
Subject: growing binary trees
Message-ID:
I made up an interesting sequence:
1, 2, 3, 4, 6, 8, 10, 13, 17, 21, 26, 33, 41,
50, 62, 77, 94, 115, 142, 174, 212, 260, 319,
389, 475, 582, 711, 867, 1060, 1296
Its a binary tree where leafs is getting
added when a nodes internal counter reaches 3.
below is my slow ruby program:
class Node
def initialize
@n = 1
@childs = []
end
def count
@childs.inject(@n){|n,child| n + child.count}
end
def grow
return @n += 1 if @n < 3
@childs.each{|child| child.grow }
@childs << Node.new if @childs.size < 2
end
end
result = []
node = Node.new
30.times do |i|
result << node.count
node.grow
end
p result
# btw: the grow method below outputs A000071: Fibonacci numbers - 1.
def grow
return @n += 1 if @n < 1
@childs.each{|child| child.grow }
@childs << Node.new if @childs.size < 2
end
# btw: the grow method below outputs A054405: Row sums of array T as in A055215.
def grow
return @n += 1 if @n < 2
@childs.each{|child| child.grow }
@childs << Node.new if @childs.size < 2
end
--
Simon Strandgaard
From ralf at ark.in-berlin.de Sun Nov 12 10:09:02 2006
From: ralf at ark.in-berlin.de (Ralf Stephan)
Date: Sun, 12 Nov 2006 10:09:02 +0100
Subject: growing binary trees
In-Reply-To:
References:
Message-ID: <20061112090902.GA1205@ark.in-berlin.de>
> I made up an interesting sequence:
>
> 1, 2, 3, 4, 6, 8, 10, 13, 17, 21, 26, 33, 41,
> 50, 62, 77, 94, 115, 142, 174, 212, 260, 319,
> 389, 475, 582, 711, 867, 1060, 1296
According to superseeker:
2 3 4
6 + 2 x + 2 x - 3 x - 4 x
[- ----------------------------, ogf]
5 3
-x - 1 + x + x
Second cumulative sums of:
%I A017817
%S A017817 1,0,0,1,1,0,1,2,1,1,3,3,2,4,6,5,6,10,11,11,16,21,22,27,37,43,49,64,80,
%T A017817 92,113,144,172,205,257,316,377,462,573,693,839,1035,1266,1532,1874,
%U A017817 2301,2798,3406,4175,5099,6204,7581,9274,11303,13785,16855,20577,25088
%N A017817 a(0)=1, a(1)=a(2)=0, a(3)=1; a(n)=a(n-3)+a(n-4).
%F A017817 G.f.: 1/(1-x^3-x^4).
%F A017817 a(n)/a(n-1) tends to r = 1.2207440846..., a real root of x^4 - x - 1 = 0. - Gary W. Adamson (qntmpkt(AT)yahoo.com), Oct 22 2006
First sums of:
Transformation T018 gave a match with:
%I A122511
%S A122511 1,1,1,2,2,2,3,4,4,5,7,8,9,12,15,17,21,27,32,38,48,59,70,86,107,129,156,
%T A122511 193,236,285,349,429,521,634,778,950,1155,1412,1728,2105,2567,3140,3833,
%U A122511 4672,5707,6973,8505,10379,12680,15478
%N A122511 Alternative method for A079398 using vector matrirx Markov.
%K A122511 nonn,uned
%A A122511 Roger Bagula (rlbagula(AT)sbcglobal.net), Sep 16 2006
which is IDENTICAL with
%I A079398
%S A079398 0,1,1,1,1,2,2,2,3,4,4,5,7,8,9,12,15,17,21,27,32,38,48,59,70,86,107,129,
%T A079398 156,193,236,285,349,429,521,634,778,950,1155,1412,1728,2105,2567,3140,
%U A079398 3833,4672,5707,6973,8505,10379,12680,15478,18884,23059,28158,34362
%N A079398 Conjectured values of d(n), the dimension of a Z-module in MZV(conv).
%C A079398 From the conjecture of Zagier, Drinfeld, Kontsevich and Goncharov (see link).
%C A079398 P(0)=P(1)=P(2)=P(3)=1, for m>3: P(m) = P(m-3) + P(m-4) is the 3rd sequence in the series: Fibonacci sequence, Padovan sequence, ... The Padovan sequence (whose ratio of successive terms approaches the plastic constant) is similar to the Perrin sequence. - Jonathan Vos Post (jvospost2(AT)yahoo.com), Jan 23 2005
%D A079398 Michel Waldschmidt, "Multiple Zeta values and Euler-Zagier numbers", in Number theory and discrete mathematics, International conference in honour of Srinivasa Ramanujan, Center for Advanced Study in Mathematics, Panjab University, Chandigarh, (Oct 02, 2000).
%H A079398 Michel Waldschmidt, Multiple Zeta values and Euler-Zagier numbers
%H A079398 Eric W. Weisstein, Padovan Sequence.
%F A079398 a(1)=0 a(2)=a(3)=a(4)=1 for n>=4 a(n)=a(n-2)+a(n-3)
%F A079398 a(n)=sum{k=0..floor((n-1)/2), binomial(floor((n-k-1)/3), k)} (offset 0); a(n)=sum{k=0..floor(n/2), binomial(floor((n-k-1)/3), k)}-0^n. (offset 0). - Paul Barry (pbarry(AT)wit.ie), Jul 06 2004
%F A079398 For n>1, a(n) = P(n-2) where P(n) is defined by: P(0)=P(1)=P(2)=P(3)=1, for m>3: P(m) = P(m-3) + P(m-4). - Jonathan Vos Post (jvospost2(AT)yahoo.com), Jan 23 2005
%Y A079398 Cf. A000931.
%K A079398 nonn
%O A079398 1,6
%A A079398 Benoit Cloitre (abmt(AT)wanadoo.fr), Feb 16 2003
ralf
From neoneye at gmail.com Sun Nov 12 16:54:56 2006
From: neoneye at gmail.com (Simon Strandgaard)
Date: Sun, 12 Nov 2006 16:54:56 +0100
Subject: growing binary trees
In-Reply-To: <20061112090902.GA1205@ark.in-berlin.de>
References:
<20061112090902.GA1205@ark.in-berlin.de>
Message-ID:
On 11/12/06, Ralf Stephan wrote:
> > I made up an interesting sequence:
> >
> > 1, 2, 3, 4, 6, 8, 10, 13, 17, 21, 26, 33, 41,
> > 50, 62, 77, 94, 115, 142, 174, 212, 260, 319,
> > 389, 475, 582, 711, 867, 1060, 1296
>
> According to superseeker:
[snip]
I don't see how its already in oeis?
How is A017817, A122511, A079398 related to it?
There is no match between my numbers and their numbers.
There doesn't seem to be any constant I can add to
make them match. Im an amateur.
--
Simon Strandgaard
From ralf at ark.in-berlin.de Sun Nov 12 17:18:14 2006
From: ralf at ark.in-berlin.de (Ralf Stephan)
Date: Sun, 12 Nov 2006 17:18:14 +0100
Subject: growing binary trees
In-Reply-To: <20061112090902.GA1205@ark.in-berlin.de>
References: <20061112090902.GA1205@ark.in-berlin.de>
Message-ID: <20061112161814.GA11423@ark.in-berlin.de>
Simon, sorry for the cryptic reply.
In other words:
Let n>=0, and your sequence a(n) = 1, 2, 3, 4, 6, 8, 10, 13, 17, 21,
26, 33, 41, 50, 62, 77, 94, 115, 142, 174, 212, 260, 319, ...
then
A079398(n) = a(n-2) - a(n-1)
A122511(n) = a(n+1) - a(n)
A017817(n) = A122511(n+3) - A122511(n+2)
All of these sequences satisfy the recurrence
a(n) = a(n-2) + a(n-3) + c
and are thus related to the Padovan sequence A000931.
With your sequence, c appears to be 3 but this has
to be proved, and all of the above is only a conjecture,
based on solid evidence, though.
ralf
From neoneye at gmail.com Sun Nov 12 17:30:14 2006
From: neoneye at gmail.com (Simon Strandgaard)
Date: Sun, 12 Nov 2006 17:30:14 +0100
Subject: growing binary trees
In-Reply-To: <20061112161814.GA11423@ark.in-berlin.de>
References:
<20061112090902.GA1205@ark.in-berlin.de>
<20061112161814.GA11423@ark.in-berlin.de>
Message-ID:
On 11/12/06, Ralf Stephan wrote:
[snip]
> All of these sequences satisfy the recurrence
> a(n) = a(n-2) + a(n-3) + c
>
> and are thus related to the Padovan sequence A000931.
> With your sequence, c appears to be 3 but this has
> to be proved, and all of the above is only a conjecture,
> based on solid evidence, though.
[snip]
I get it. Thanks for the explaination :-)
--
Simon Strandgaard
From njas at research.att.com Sun Nov 12 17:38:06 2006
From: njas at research.att.com (N. J. A. Sloane)
Date: Sun, 12 Nov 2006 11:38:06 -0500 (EST)
Subject: growing binary trees
Message-ID: <200611121638.LAA08650@fry.research.att.com>
I will add Simon S.'s sequence to the OEIS - it will be A123015
in a few minutes
Can Ruby lines be combined onto one line?
NJAS
From njas at research.att.com Sun Nov 12 18:22:45 2006
From: njas at research.att.com (N. J. A. Sloane)
Date: Sun, 12 Nov 2006 12:22:45 -0500 (EST)
Subject: growing binary trees
Message-ID: <200611121722.MAA17909@fry.research.att.com>
About this sequence (it will be A123015):
1, 2, 3, 4, 6, 8, 10, 13, 17, 21, 26, 33, 41,
50, 62, 77, 94, 115, 142, 174, 212, 260, 319,
389, 475, 582, 711, 867, 1060, 1296
Its a binary tree where leafs is getting
added when a nodes internal counter reaches 3.
- I really don't understand the definition. What exactly is the
n-th term?
Neil Sloane
From neoneye at gmail.com Sun Nov 12 19:10:23 2006
From: neoneye at gmail.com (Simon Strandgaard)
Date: Sun, 12 Nov 2006 19:10:23 +0100
Subject: growing binary trees
In-Reply-To: <200611121638.LAA08650@fry.research.att.com>
References: <200611121638.LAA08650@fry.research.att.com>
Message-ID:
On 11/12/06, N. J. A. Sloane wrote:
> I will add Simon S.'s sequence to the OEIS - it will be A123015
> in a few minutes
>
> Can Ruby lines be combined onto one line?
I cannot express this thing as math, and its difficult for me to
compact the code without loss of readability.
below is a 5 line version:
class Node; def initialize; @n = 1; @c = [] end
def count; @c.inject(@n){|n,c| n + c.count} end
def grow; return @n += 1 if @n < 3; @c.each{|c| c.grow }
@c << Node.new if @c.size < 2; end; end; r = []; node = Node.new
30.times { r << node.count; node.grow }; p r
here is the oneliner (less readable):
class C;def initialize;@n=1;@c=[] end;def n;@c.inject(@n){|n,c|n+c.n}
end;def g;return @n+=1 if @n<3; @c.each{|c|c.g};@c<
References:
<20061112090902.GA1205@ark.in-berlin.de>
Message-ID:
On 11/12/06, Ralf Stephan wrote:
> %I A122511
> %S A122511 1,1,1,2,2,2,3,4,4,5,7,8,9,12,15,17,21,27,32,38,48,59,70,86,107,129,156,
> %T A122511 193,236,285,349,429,521,634,778,950,1155,1412,1728,2105,2567,3140,3833,
> %U A122511 4672,5707,6973,8505,10379,12680,15478
> %N A122511 Alternative method for A079398 using vector matrirx Markov.
> %K A122511 nonn,uned
> %A A122511 Roger Bagula (rlbagula(AT)sbcglobal.net), Sep 16 2006
>
> which is IDENTICAL with
>
> %I A079398
> %S A079398 0,1,1,1,1,2,2,2,3,4,4,5,7,8,9,12,15,17,21,27,32,38,48,59,70,86,107,129,
> %T A079398 156,193,236,285,349,429,521,634,778,950,1155,1412,1728,2105,2567,3140,
> %U A079398 3833,4672,5707,6973,8505,10379,12680,15478,18884,23059,28158,34362
> %N A079398 Conjectured values of d(n), the dimension of a Z-module in MZV(conv).
> %C A079398 From the conjecture of Zagier, Drinfeld, Kontsevich and Goncharov (see link).
> %C A079398 P(0)=P(1)=P(2)=P(3)=1, for m>3: P(m) = P(m-3) + P(m-4) is the 3rd sequence in the series: Fibonacci sequence, Padovan sequence, ... The Padovan sequence (whose ratio of successive terms approaches the plastic constant) is similar to the Perrin sequence. - Jonathan Vos Post (jvospost2(AT)yahoo.com), Jan 23 2005
> %D A079398 Michel Waldschmidt, "Multiple Zeta values and Euler-Zagier numbers", in Number theory and discrete mathematics, International conference in honour of Srinivasa Ramanujan, Center for Advanced Study in Mathematics, Panjab University, Chandigarh, (Oct 02, 2000).
> %H A079398 Michel Waldschmidt, Multiple Zeta values and Euler-Zagier numbers
> %H A079398 Eric W. Weisstein, Padovan Sequence.
> %F A079398 a(1)=0 a(2)=a(3)=a(4)=1 for n>=4 a(n)=a(n-2)+a(n-3)
> %F A079398 a(n)=sum{k=0..floor((n-1)/2), binomial(floor((n-k-1)/3), k)} (offset 0); a(n)=sum{k=0..floor(n/2), binomial(floor((n-k-1)/3), k)}-0^n. (offset 0). - Paul Barry (pbarry(AT)wit.ie), Jul 06 2004
> %F A079398 For n>1, a(n) = P(n-2) where P(n) is defined by: P(0)=P(1)=P(2)=P(3)=1, for m>3: P(m) = P(m-3) + P(m-4). - Jonathan Vos Post (jvospost2(AT)yahoo.com), Jan 23 2005
> %Y A079398 Cf. A000931.
> %K A079398 nonn
> %O A079398 1,6
> %A A079398 Benoit Cloitre (abmt(AT)wanadoo.fr), Feb 16 2003
Should not then A122511 be marked as a duplicate of A079398 with an
appropriate comment?
I do not see much sense in keeping them separate.
Max
From davidwwilson at comcast.net Mon Nov 13 18:50:32 2006
From: davidwwilson at comcast.net (David Wilson)
Date: Mon, 13 Nov 2006 12:50:32 -0500
Subject: A102567 = A106498
Message-ID: <000601c7074c$375f4d50$6501a8c0@yourxhtr8hvc4p>
A102567 and A106498 are duplicates and should be merged. The latter sequence has an associated b-file.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From maxale at gmail.com Mon Nov 13 19:24:29 2006
From: maxale at gmail.com (Max A.)
Date: Mon, 13 Nov 2006 10:24:29 -0800
Subject: A050259 and a new solution to 2^n = 3 (mod n)
Message-ID:
SeqFans,
In course of exploring all solutions of the congruence 2^n = 3 (mod n)
below 10^16, I have found a new solution:
n = 3468371109448915
This came as a big surprise to me since my original goal was to prove
that 8365386194032363 is the second term of A050259. But now it
appears to be at least the third term.
So far I've submitted the new solution as a comment to A050259, but
hopefully it will take its true place in this sequence soon.
Regards,
Max
P.S. See also http://mathworld.wolfram.com/2.html
From rkg at cpsc.ucalgary.ca Mon Nov 13 20:15:20 2006
From: rkg at cpsc.ucalgary.ca (Richard Guy)
Date: Mon, 13 Nov 2006 12:15:20 -0700 (MST)
Subject: A050259 and a new solution to 2^n = 3 (mod n)
In-Reply-To:
References:
Message-ID:
Congratulations! May I know Max's full name,
so that he can earn undying fame in UPINT as
well as in OEIS ? Thanks, R.
On Mon, 13 Nov 2006, Max A. wrote:
> SeqFans,
>
> In course of exploring all solutions of the congruence 2^n = 3
> (mod n)
> below 10^16, I have found a new solution:
>
> n = 3468371109448915
>
> This came as a big surprise to me since my original goal was
> to prove
> that 8365386194032363 is the second term of A050259. But now
> it
> appears to be at least the third term.
>
> So far I've submitted the new solution as a comment to
> A050259, but
> hopefully it will take its true place in this sequence soon.
>
> Regards,
> Max
>
> P.S. See also http://mathworld.wolfram.com/2.html
From jvospost3 at gmail.com Mon Nov 13 21:34:20 2006
From: jvospost3 at gmail.com (Jonathan Post)
Date: Mon, 13 Nov 2006 12:34:20 -0800
Subject: A050259 and a new solution to 2^n = 3 (mod n)
In-Reply-To:
References:
Message-ID: <5542af940611131234l54af8bcar76fcba8e87d0fb1b@mail.gmail.com>
Is this a hierarchy of fame, or a graph, or directed graph, or a lattice, or
what? What percentage of "nice" sequences are referenced in each successive
edition of UPINT (Unsolved problems in Number Theory)? How many OEIS seqs
per edition of UPINT, now that the two are more tightly interlinked? What
estimates does one make to extrapolate for future editions? Should there be
a "very nice" keyword for seqs that pose problems in UPINT, when they get
solved in later editions?
Only hypothetical for me, as I've had over 1400 seqs in OEIS and not one is
yet "nice", although some are comments on "nice" seqs. So if there is a
hierarchy of fame, I'm just above the lowest level (or highest, depending
on indexing) in quality, which is most assuredly not correlated well with
quantity. In Science Fiction, for instance, there are indeed a hierarchies
of fame, based on awards (Hugo, Nebula), coauthorships, pay, anthologies,
and the like. I'm also just somewhat above the bottom, in part for my
coauthorships with Asimov, Bradbury, Clarke, and Heinlein. I've done
research on Asimov Number as the Science Fiction equivalent of Erdos Number,
but that's another story.
By the way, I have the penultimate edition (so far) of UPINT as a gift from
the wonderful Tony Noe, when he bought the ultimate edition (so far). I echo
the applause by njas for all the hundreds of errors in OEIS found and
corrected by Tony, and the many many b-files.
Best,
Jonathan Vos Post
On 11/13/06, Richard Guy wrote:
>
> Congratulations! May I know Max's full name,
> so that he can earn undying fame in UPINT as
> well as in OEIS ? Thanks, R.
>
> On Mon, 13 Nov 2006, Max A. wrote:
>
> > SeqFans,
> >
> > In course of exploring all solutions of the congruence 2^n = 3
> > (mod n)
> > below 10^16, I have found a new solution:
> >
> > n = 3468371109448915
> >
> > This came as a big surprise to me since my original goal was
> > to prove
> > that 8365386194032363 is the second term of A050259. But now
> > it
> > appears to be at least the third term.
> >
> > So far I've submitted the new solution as a comment to
> > A050259, but
> > hopefully it will take its true place in this sequence soon.
> >
> > Regards,
> > Max
> >
> > P.S. See also http://mathworld.wolfram.com/2.html
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From r.rosenthal at web.de Mon Nov 13 23:12:57 2006
From: r.rosenthal at web.de (Rainer Rosenthal)
Date: Mon, 13 Nov 2006 23:12:57 +0100
Subject: A050259 and a new solution to 2^n = 3 (mod n)
In-Reply-To:
References:
Message-ID: <4558EDE9.2080404@web.de>
Richard Guy wrote:
> Congratulations! May I know Max's full name,
> so that he can earn undying fame in UPINT as
> well as in OEIS ? Thanks, R.
>
> On Mon, 13 Nov 2006, Max A. wrote:
>>In course of exploring all solutions of the congruence 2^n = 3
>>(mod n) below 10^16, I have found a new solution:
>>
>>n = 3468371109448915
>>P.S. See also http://mathworld.wolfram.com/2.html
This is a lovely finding, which I will have to tell
immediately in the German Newsgroup de.sci.mathematik.
Congratulations from a friend of OEIS and UPINT and
of things that are not too difficult to comprehend :-)
Not only congratulations to Max for finding, but to all
of us for being witnesses.
Best regards,
Rainer Rosenthal
r.rosenthal at web.de
From franktaw at netscape.net Tue Nov 14 00:01:52 2006
From: franktaw at netscape.net (franktaw at netscape.net)
Date: Mon, 13 Nov 2006 18:01:52 -0500
Subject: A102567 = A106498
In-Reply-To: <000601c7074c$375f4d50$6501a8c0@yourxhtr8hvc4p>
References: <000601c7074c$375f4d50$6501a8c0@yourxhtr8hvc4p>
Message-ID: <8C8D58ED7DCDA34-128-9CD7@FWM-R16.sysops.aol.com>
A116148 (n concatenated with n-1 gives the product of two numbers which
differ by 2) is also a duplicate of these two. The only possible
exceptions would be numbers of the form 10^n-1; but then the
concatenation is 10^{2n}+10^n-1, and 10^{2n}+10^n is never a square.
Franklin T. Adams-Watters
-----Original Message-----
From: davidwwilson at comcast.net
A102567 and A106498 are duplicates and should be merged.?The latter
sequence has an associated b-file.
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and
industry-leading spam and email virus protection.
From maxale at gmail.com Tue Nov 14 00:52:58 2006
From: maxale at gmail.com (Max A.)
Date: Mon, 13 Nov 2006 15:52:58 -0800
Subject: A050259 and a new solution to 2^n = 3 (mod n)
In-Reply-To:
References:
Message-ID:
I answered Richard privately.
But if other people also want to refer to my full name, it is
Max Alekseyev
Regards,
Max
P.S. It is not a conspiracy but rather my way to beat spamming. So
far, spam emails never addressed me by my full name, and I can easily
recognize important emails that do contain my full name in the To:
field.
On 11/13/06, Richard Guy wrote:
> Congratulations! May I know Max's full name,
> so that he can earn undying fame in UPINT as
> well as in OEIS ? Thanks, R.
>
> On Mon, 13 Nov 2006, Max A. wrote:
>
> > SeqFans,
> >
> > In course of exploring all solutions of the congruence 2^n = 3
> > (mod n)
> > below 10^16, I have found a new solution:
> >
> > n = 3468371109448915
> >
> > This came as a big surprise to me since my original goal was
> > to prove
> > that 8365386194032363 is the second term of A050259. But now
> > it
> > appears to be at least the third term.
> >
> > So far I've submitted the new solution as a comment to
> > A050259, but
> > hopefully it will take its true place in this sequence soon.
> >
> > Regards,
> > Max
> >
> > P.S. See also http://mathworld.wolfram.com/2.html
>
>
From bowerc at usa.net Tue Nov 14 02:10:04 2006
From: bowerc at usa.net (Christian G. Bower)
Date: Mon, 13 Nov 2006 17:10:04 -0800
Subject: growing binary trees
Message-ID: <397kkNBJe5074S28.1163466604@cmsweb28.cms.usa.net>
From Simon's diagrams, I can see this is analogous to Fibonacci's
rabbits. Basically, the behavior of the node is given by its age.
A node at age 0 or 1 grows and one at age 2 or 3 produces a new node.
From this its easy to get a g.f. of
(1+x+x^2)/(1-x-x^3+x^5)
1 2 3 4 6 8 10 13 17 21 26 33 41 50 62 77 94 115 142 174 212 260 319 389
475 582 711 867 1060 1296 1581 1930 2359 2880 3514 4292 5242 6397 7809
9537
Also, the number of nodes has g.f.
1/(1-x-x^3+x^5)
1 1 1 2 3 3 4 6 7 8 11 14 16 20 26 31 37 47 58 69 85 106 128 155 192 235
284 348 428 520 633 777 949 1154 1411 1727 2104 2566 3139 3832
which isn't in the EIS either.
------ Original Message ------
From: "Simon Strandgaard"
To: njas at research.att.comCc: seqfan at ext.jussieu.fr
Subject: Re: growing binary trees
...
> visually it works like this:
>
> step#0
> 1
>
>
> step#1
> 2
>
>
> step#2
> 3
>
>
> step#3
> 3
> /
> 1
>
>
> step#4
> 3
> / \
> 2 1
>
>
> step#5
> 3
> / \
> 3 2
>
>
> step#6
> 3
> / \
> 3 3
> /
> 1
>
>
> step#7
> 3
> / \
> 3 3
> / \ /
> 2 1 1
>
>
> step#8
> 3
> / \
> 3 3
> / \ / \
> 3 2 2 1
>
>
>
> --
> Simon Strandgaard
>
From zbi74583 at boat.zero.ad.jp Tue Nov 14 06:50:02 2006
From: zbi74583 at boat.zero.ad.jp (kohmoto)
Date: Tue, 14 Nov 2006 14:50:02 +0900
Subject: A036471
Message-ID: <013d01c707b0$bedd9660$d967d7dc@FMC57937B6BE00>
Hi, Seqfans
An exhaustive search of A036471 with a computer up to 10^7 is almost
impossible.
So, using my algorithm, I searched small examples which are ?regular
type?.
See this site, there is an explanation of "type".
http://amicable.homepage.dk/apstat.htm#typesys
I found these examples.
2^9*3^2*13*31*(5*11,71)*(7*23,191)
11 digits
2^15*3*5^2*11*31*257*(1439,19*71,23*59,29*47)
16 digits
2^3*3^4*5^2*(7*23,191)*(17*19,359)
9 digits
(2^3*19*41,2^5*199)*(3*5*7*13,3^2*5*7*139)
8 digits
(2^3*19*41,2^5*199)*(3^3*5*7*71,3^3*5*17*31)
9 digits
(2^3*19*41,2^5*199)*(3^2*7*13*5*17,3^2*7*13*107)
9 digits
2^7*3^2*13*(5*11,71)*(7*59,479)
9 digits
2^5*3^4*5^2*(17*19,359)*(23*29,719)
11 digits
Where, x*(y,z) means (x*z,x*y). (x,y)*(z,u)=(x*z,x*u,y*z,y*z)
I think that if a smaller one than 3270960 exists, then it must be
?irregular".
Regurer type Amicable Quadruple are generated from ?seeds? which are
two pairs or one quadruple of primes or almost primes, {x,y} and {z,u} or
{x,y,z,u}.
The numbers x,y,z,u of small Amicable Quadruple must satisfy the
following conditions.
.
o Sigma(x)=Sigma(y) and Sigma(z)=Sigma(u), or
Sigma(x)=Sigma(y)=Sigma(z)=Sigma(u)
o all prime factors of x,y,z,u are small
o all prime factors of x+y and z+u are small, or all prime factors of
x+y+z+u are small
For example, if {x,y}={7*23,191} and {z,u}={17*19,359} then
o Sigma(7*23)=Sigma(191), Sigma(17*19)=Sigma(359)
o all prime factors of 7*23,191,17*19,359 are small
o x+y=2^5*11, z+u=2*11*31
So, (7*23,191)*(17*19,359) generates 2^3*3^4*5^2*(7*23,191)*(17*19,359)
If we obtain all small seeds then we will calculate all small regular
terms of A036471.
Yasutoshi
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From g.resta at iit.cnr.it Tue Nov 14 14:40:49 2006
From: g.resta at iit.cnr.it (Giovanni Resta)
Date: Tue, 14 Nov 2006 14:40:49 +0100
Subject: A036471
In-Reply-To: <013d01c707b0$bedd9660$d967d7dc@FMC57937B6BE00>
References: <013d01c707b0$bedd9660$d967d7dc@FMC57937B6BE00>
Message-ID: <4559C761.70305@iit.cnr.it>
kohmoto wrote:
>
> Hi, Seqfans
>
> An exhaustive search of A036471 with a computer up to 10^7 is almost
> impossible.
>
Here it is the result of an exhaustive search
with a computer up to 10^7, in the format
sigma -> {a,b,c,d} (with a,b,c,d<10^7)
13927680 -> {3270960, 3361680, 3461040, 3834000}
16248960 -> {3767400, 4090320, 4150440, 4240800}
19498752 -> {4651920, 4839120, 4918320, 5089392}
21228480 -> {4969440, 5116320, 5475960, 5666760}
24373440 -> {5682600, 5831280, 5920200, 6939360}
24998400 -> {5405400, 6029100, 6421800, 7142100}
27855360 -> {6514200, 6640200, 6768720, 7932240}
28304640 -> {6126120, 6541920, 7559640, 8076960}
28304640 -> {6126120, 6922080, 7280280, 7976160}
29030400 -> {6320160, 6902280, 7685496, 8122464}
29030400 -> {6977880, 7087080, 7227360, 7738080}
29877120 -> {7013160, 7436520, 7688520, 7738920}
29998080 -> {6819120, 7327320, 7715400, 8136240}
29998080 -> {6966960, 7054320, 7840560, 8136240}
32497920 -> {7706160, 7722000, 7948080, 9121680}
33022080 -> {7731360, 7852320, 8125920, 9312480}
33868800 -> {7469280, 8157240, 8873760, 9368520}
33868800 -> {7469280, 8157240, 9098460, 9143820}
Note that there are values which admit more than one quadruple,
and there are also quadruples which share 1 or 2 common values.
Here are some larger quadruples, but now there can be some
missing among these, because here I used an heuristic.
{8353800, 8920800, 10063200, 10159800}
{8288280, 9360540, 9830520, 10260180}
{8316000, 8759520, 10260180, 10403820}
{9258480, 9621360, 9661680, 10455984}
{9009000, 10174500, 10521000, 11179980}
{10048500, 10174500, 10188360, 10473120}
{9840600, 10098000, 10914120, 10930320}
{9923760, 10316880, 10747440, 10794960}
{9563400, 10085040, 11241720, 11964240}
{9646560, 10667160, 11502540, 11729340}
{9767520, 11202840, 11217960, 11357280}
{9828000, 10796940, 11362680, 12041820}
{10417680, 10538640, 10979280, 13061520}
{10450440, 11614680, 11802420, 13306860}
{10450440, 12179160, 12204360, 12340440}
etc.etc. (program is running).
Giovanni Resta
From davidwwilson at comcast.net Tue Nov 14 18:00:27 2006
From: davidwwilson at comcast.net (David Wilson)
Date: Tue, 14 Nov 2006 12:00:27 -0500
Subject: A023153 through A023161
References:
Message-ID: <006d01c7080e$632ff480$6501a8c0@yourxhtr8hvc4p>
Tony Noe has found that A023153 through A023161 are not multiplicative as I
had marked them.
At the time, I was convinced that in sequence {s_k(n) = k^(2^n)}, a cycle of
period x (mod a) and a cycle of period y (mod b) implied a unique cycle of
period xy (mod ab). However, if gcd(x, y) > 1, the cycles (mod a) and (mod
b) can align in more than one way, producing more than one cycle (mod ab).
For example, the cycle (2,4) (mod 7) and the cycle (4,7) (mod 9) produce two
cycles (4,16) and (25,58) (mod 63). This means that sometimes f(ab) >
f(a)f(b).
This problem affects A023153 through A023161, and Tony Noe has shown that
indeed none of these are multiplicative.
NJAS: Please remove the "mult" keyword and any comments related to
multiplicativity from A023153-A023161.
Tony: Since these sequences are almost multiplicative, but are not, and you
seem to be investigating these sequences, could you please add lines such as
%C A023153 Not multiplicative: a(63) = 10, but a(7)*a(9) = 3*3 = 9.
Thanks for spotting my error, Tony. Seems I have been bitten by the dragon I
released.
----- Original Message -----
From: "T. D. Noe"
To: