Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A082925
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A082925 Sum of numbers in trajectory of n under rule in A082924. +0
1
3, 6, 10, 12, 18, 21, 29, 33, 60, 65, 77, 83, 97, 104, 149, 157, 175, 184, 204, 214, 277, 288, 312, 324, 399, 412, 493, 507, 537, 552, 584, 600, 699, 716, 821, 839, 877, 896, 1013, 1033, 1075, 1096, 1140, 1162, 1297, 1320, 1368, 1392, 1539, 1564, 1717, 1743 (list; graph; listen)
OFFSET

0,1

COMMENT

The ratio seq(n-1)/seq(n) appears to approach 1-C for some C>0 as n approaches oo.

FORMULA

seq = if n even then n/2 else 3*n. seq = if n is prime then n+1. Sumseq = Sumseq + seq for n=1, 2, ...

EXAMPLE

For n = 5. seq = 3 3 4 2 6 Sum(3+3+4+2+6) = 18 the 5th entry of the sequence

PROGRAM

(PARI) crazy1(n) = { s=0; tmp; for(x=1, n, if(x%2==0, y=x/2, y=x*3); if(isprime(x), y=x+1); s=s+y; \ print1(y" ") print1(s" "); tmp=s1; s1=s2; s2=tmp; ); print(); print(s1/s2"="s1/s2+0.0) }

CROSSREFS

Adjacent sequences: A082922 A082923 A082924 this_sequence A082926 A082927 A082928

Sequence in context: A114981 A007960 A032732 this_sequence A131696 A028357 A099822

KEYWORD

easy,nonn,uned

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), May 26 2003

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 October 12 15:26 EDT 2008. Contains 144830 sequences.


AT&T Labs Research