The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A158850 Numbers n such that 30*n + 29 is prime. 8
0, 1, 2, 4, 5, 7, 8, 11, 12, 13, 14, 15, 16, 18, 19, 21, 23, 26, 27, 30, 33, 34, 36, 40, 41, 42, 43, 46, 47, 49, 51, 53, 56, 62, 64, 65, 67, 68, 69, 70, 76, 77, 79, 81, 84, 85, 86, 89, 90, 92, 93, 95, 96, 97, 98, 99, 102, 103, 106, 109, 110, 111, 112, 114, 117, 121, 123, 125 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Encoded primes with LSD 9 and (SOD-1)/3 non-integer, (LSD, least significant digit; SOD, sum of digits). Divide any such number by 30, if the whole number portion from the quotient is in the sequence, the number is prime.
LINKS
FORMULA
a(n) = (A132236(n) - 29)/30 = Floor[A132236(n)/30]. - Chandler
EXAMPLE
Example: 3209 with LSD 9 and (SOD-1)/3 non-integer; Then 3209/30 = 106.966, or 106, which is in the sequence, thus 3209 is prime.
PROG
(PARI) is(n)=isprime(30*n+29) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
Sequence in context: A085370 A006693 A281641 * A274427 A187576 A188298
KEYWORD
nonn
AUTHOR
Ki Punches, Mar 28 2009
EXTENSIONS
Edited by Ray Chandler, Apr 07 2009
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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 16 17:27 EDT 2024. Contains 372554 sequences. (Running on oeis4.)