Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A154279
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A154279 List of pairs: {a(n),b(n)}: a(n)=Prime[n]-Prime[n-1]+a(n-1); b(n)=(Prime[n]-Prime[n-1])*b(n-1). +0
1
0, 1, 2, 1, 3, 1, 5, 2, 7, 4, 11, 16, 13, 32, 17, 128, 19, 256, 23, 1024, 29, 6144, 31, 12288, 37, 73728, 41, 294912, 43, 589824, 47, 2359296, 53, 14155776, 59, 84934656, 61, 169869312, 67, 1019215872, 71, 4076863488, 73, 8153726976, 79, 48922361856, 83 (list; graph; listen)
OFFSET

0,3

COMMENT

There are primes associated with the product sequence:

Flatten[Table[If[PrimeQ[b[n] - 1], b[n] - 1, If[PrimeQ[b[n] + 1], b[ n] + 1, {}]], {n, 0, 30}]].

{2, 2, 2, 3, 3, 17, 31, 127, 257, 6143, 12289, 73727, 294911, 14155777,

169869311, 4076863487, 1174136684543}

FORMULA

{a(n),b(n)}:

a(n)=Prime[n]-Prime[n-1]+a(n-1);

b(n)=(Prime[n]-Prime[n-1])*b(n-1).

MATHEMATICA

Clear[a, b];

a[0] = 0; a[1] = 2; a[n_] := a[n] = Prime[n] - Prime[n - 1] + a[n - 1];

b[0] = 1; b[1] = 1; b[n_] := b[n] = (Prime[n] - Prime[n - 1])*b[n - 1];

Flatten[Table[{a[n], b[n]}, {n, 0, 30}]]

CROSSREFS

A081411

Sequence in context: A085053 A104725 A011129 this_sequence A065370 A147783 A102614

Adjacent sequences: A154276 A154277 A154278 this_sequence A154280 A154281 A154282

KEYWORD

nonn,uned,tabf

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Jan 06 2009

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research