login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A122498 A000931 Padovan numbers that are semiprimes. 0
4, 9, 21, 49, 65, 86, 265, 1081, 1897, 2513, 7739, 97229, 128801, 299426 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

REFERENCES

Eric Weisstein's World of Mathematics, "Semiprime." http://mathworld.wolfram.com/Semiprime.html

FORMULA

p(n)=p(n-2)+p(n-3)=A000931[n] a(n) = If [SemiprimeQ[p(n)==True,p(n)]

MATHEMATICA

SemiprimeQ[1] := False SemiprimeQ[n_Integer] := Plus @@ (Last /@ FactorInteger[n]) == 2 a = Table[ SeriesCoefficient[ Series[x/(1 - x^2 - x^3), {x, 0, 50}], n], {n, 0, 50}] f[n_] = If[SemiprimeQ[a[[n]]] == True, a[[n]], {}] Flatten[Table[f[n], {n, 1, Length[a]}]]

CROSSREFS

Cf. A000931, A053409.

Sequence in context: A027973 A103040 A084861 * A132750 A048582 A069231

Adjacent sequences:  A122495 A122496 A122497 * A122499 A122500 A122501

KEYWORD

nonn,uned

AUTHOR

Roger Bagula (rlbagulatftn(AT)yahoo.com), Sep 15 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 04:47 EST 2012. Contains 205860 sequences.