Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A073859
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A073859 a(1)=1 and a(n>1)=min{primes up to n-1 | a(1)+a(2)+...+a(n-1)+a(n) is a cube}. +0
1
1, 7, 19, 37, 61 (list; graph; listen)
OFFSET

1,2

COMMENT

The sequence is complete. Proof: We must find a prime p>61 and an integer m such that p = m^3 - (1+7+19+37+61) = m^3 - 125 = (m - 5)*(m^2 + 5*m + 25). Since p is prime, we must have p=1*p, therefore set m=6 to make p = (6-5)(6^2 + 5*6 + 25) = 1*91. However, 91=7*13 (not prime). Since m=6 is the only answer for which m-5=1, we can conclude that there is no prime p satisfying the equation. - Francois Jooste (pin(AT)myway.com), Mar 09 2003

MAPLE

a := proc(r, M) local tmp, f, i; description "returns the sequence (first term is 1, all others are prime, up to the 'M-1-th prime) such that the partial sum of all the previous terms in the sequence form a cube (that is to say, 'a(1)=1' and 'a(n>1)=min{primes up to n-1 | a(1)+a(2)+...+a(n-1)+a(n) is a cube}')."; for i from 1 to M do tmp := `if`(i>1, [seq(f(j), j=1..i-1), ithprime(i-1)], [1]); f(i) := `if`(proot(`+`(op(tmp)), r)<>_NOROOT, tmp[i], 0); od; return seq(`if`(f(j)=0, NULL, f(j)), j=1..M); end proc;

CROSSREFS

Sequence in context: A069833 A031337 A152540 this_sequence A038847 A130056 A136057

Adjacent sequences: A073856 A073857 A073858 this_sequence A073860 A073861 A073862

KEYWORD

nonn,fini,full

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Aug 15 2002

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 5 08:23 EST 2009. Contains 170348 sequences.


AT&T Labs Research