Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A152870
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A152870 Indices of primes in the Padovan sequence A000931:a(n)=If[PrimeQ[A000931(n),n]. +0
1
4, 5, 6, 8, 9, 15, 20, 31, 38, 85, 129, 470, 667, 1263, 1574, 2004, 2211, 2290, 4164, 5554, 6568, 8562 (list; graph; listen)
OFFSET

0,1

MATHEMATICA

(*Indices of prime Padovan sequence A000931*)

Clear[a, n]; a[0] = 0; a[1] = 1; a[2] = 1;

a[n_] := a[n] = a[n - 2] + a[n - 3];

Flatten[Table[If[PrimeQ[a[n]], n, {}], {n, 0, 10000}]]

CROSSREFS

A000931, A001605

Sequence in context: A047432 A095279 A030751 this_sequence A087947 A053427 A037354

Adjacent sequences: A152867 A152868 A152869 this_sequence A152871 A152872 A152873

KEYWORD

nonn

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Dec 14 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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research