Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A152916
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A152916 Tetrahedral numbers composed of two primes and one nonprime. +0
1
1, 4, 10, 35, 286, 969, 4495, 12341, 35990, 62196, 176851, 209934, 437989, 562475, 971970, 1179616, 1293699, 1975354, 2303960, 3280455, 3737581, 5061836, 7023974, 12347930, 13436856, 16435111, 23706021, 30865405, 35999900, 39338069 (list; graph; listen)
OFFSET

1,2

FORMULA

a(n)=A000292(A124588(n-1)), n>1. [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 14 2009]

EXAMPLE

If n=1(nonprime), n+1=2(prime) and n+2=3(prime), then 1*2*3/6=1=a(1). If n+1=2(prime), n+2=3(prime) and n+3=4(nonprime), then 2*3*4/6=4=a(2). If n+2=3(prime), n+3=4(nonprime) and n+4=5(prime), then 3*4*5/6=10=a(3). If n+4=5(prime), n+5=6(nonprime) and n+6=7(prime), then 5*6*7/6=35=a(4). If n+10=11(prime), n+11=12(nonprime) and n+12=13(prime), then 11*12*13/6=286=a(5), etc.

MAPLE

A000292 := proc(n) n*(n+1)*(n+2)/6; end: for n from 1 to 800 do ps := 0 ; if isprime(n) then ps := ps+1 ; fi; if isprime(n+1) then ps := ps+1 ; fi; if isprime(n+2) then ps := ps+1 ; fi; if ps = 2 then printf("%d, ", A000292(n)) ; fi; od: [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 14 2009]

CROSSREFS

Cf. A000040, A000392, A141468, A152622.

Sequence in context: A059710 A149177 A149178 this_sequence A108596 A088013 A149179

Adjacent sequences: A152913 A152914 A152915 this_sequence A152917 A152918 A152919

KEYWORD

nonn

AUTHOR

Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Dec 15 2008

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 13 23:45 EST 2009. Contains 170824 sequences.


AT&T Labs Research