The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A082924 For n prime, a(n) = n+1; for n even and > 2, a(n) = n/2; otherwise a(n) = 3*n. 1
 3, 3, 4, 2, 6, 3, 8, 4, 27, 5, 12, 6, 14, 7, 45, 8, 18, 9, 20, 10, 63, 11, 24, 12, 75, 13, 81, 14, 30, 15, 32, 16, 99, 17, 105, 18, 38, 19, 117, 20, 42, 21, 44, 22, 135, 23, 48, 24, 147, 25, 153, 26, 54, 27, 165, 28, 171, 29, 60, 30, 62, 31, 189, 32, 195, 33, 68, 34, 207, 35, 72 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Table of n, a(n) for n=1..71. PROG (PARI) crazy1(n) = { for(x=1, n, if(x%2==0, y=x/2, y=x*3); if(isprime(x), y=x+1); print1(y" ") ) } CROSSREFS Sequence in context: A294656 A057937 A080216 * A159636 A023647 A332413 Adjacent sequences: A082921 A082922 A082923 * A082925 A082926 A082927 KEYWORD easy,nonn AUTHOR Cino Hilliard, May 26 2003 EXTENSIONS Edited by David Wasserman, Oct 21 2003 STATUS approved

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

Last modified August 6 17:40 EDT 2024. Contains 374981 sequences. (Running on oeis4.)