cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A323353 Numbers k such that A015525(k) is prime.

This page as a plain text file.
%I A323353 #14 Sep 02 2025 08:40:46
%S A323353 2,3,7,11,13,73,401,421,677,3673,4903,13147,24547,58481,64499
%N A323353 Numbers k such that A015525(k) is prime.
%o A323353 (PARI) print1(2,", ");anm2=1;anm1=3;for(n=3,1000,an=3*anm1+8*anm2;anm2=anm1;anm1=an;if(isprime(an),print1(n,", ")))
%o A323353 (Perl) use ntheory ":all"; sub isok { is_prob_prime(lucasu(3, -8, $_[0])) }; for (1..700) { print "$_\n" if isok($_) }; # _Daniel Suteu_, Jan 12 2019
%Y A323353 Cf. A015525, A323354.
%K A323353 nonn,more,hard,changed
%O A323353 1,1
%A A323353 _Hugo Pfoertner_, Jan 12 2019
%E A323353 a(13) from _Daniel Suteu_, Jan 12 2019
%E A323353 a(14)-a(15) from _Michael S. Branicky_, Sep 02 2025